Skip to content

Commit 9a946b3

Browse files
committed
Fixed wrong sentence
1 parent d383336 commit 9a946b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

neomodel/async_/match.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ def build_label(self, ident: str, cls: type[AsyncStructuredNode]) -> str:
689689
self._ast.return_clause = ident
690690
self._ast.result_class = cls
691691
elif not self._ast.match:
692-
# If we get here, it means we called return_clause was filled because of an
692+
# If we get here, it means return_clause was filled because of an
693693
# optional match, so we add a regular match for root node.
694694
# Not very elegant, this part would deserve a refactoring...
695695
self._ast.match.append(f"({ident_w_label})")

neomodel/sync_/match.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ def build_label(self, ident: str, cls: type[StructuredNode]) -> str:
687687
self._ast.return_clause = ident
688688
self._ast.result_class = cls
689689
elif not self._ast.match:
690-
# If we get here, it means we called return_clause was filled because of an
690+
# If we get here, it means return_clause was filled because of an
691691
# optional match, so we add a regular match for root node.
692692
# Not very elegant, this part would deserve a refactoring...
693693
self._ast.match.append(f"({ident_w_label})")

0 commit comments

Comments
 (0)