Skip to content

Commit

Permalink
pythongh-118323: Document && grammar syntax (python#118324)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Apr 27, 2024
1 parent c57326f commit 51aefc5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Grammar/python.gram
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ _PyPegen_parse(Parser *p)
# Fail if e can be parsed, without consuming any input.
# ~
# Commit to the current alternative, even if it fails to parse.
# &&e
# Eager parse e. The parser will not backtrack and will immediately
# fail with SyntaxError if e cannot be parsed.
#

# STARTING RULES
Expand Down

0 comments on commit 51aefc5

Please sign in to comment.