Skip to content

Commit c733527

Browse files
committed
Fix comment
Related GraphQL-js commit: graphql/graphql-js@5896562
1 parent f7c1fb2 commit c733527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql/core/language/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def peek(parser, kind):
9292
def skip(parser, kind):
9393
"""If the next token is of the given kind, return true after advancing
9494
the parser. Otherwise, do not change the parser state
95-
and return False."""
95+
and throw an error."""
9696
match = parser.token.kind == kind
9797
if match:
9898
advance(parser)

0 commit comments

Comments
 (0)