Skip to content

Commit 51aefc5

Browse files
authored
gh-118323: Document && grammar syntax (#118324)
1 parent c57326f commit 51aefc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Grammar/python.gram

+3
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ _PyPegen_parse(Parser *p)
7878
# Fail if e can be parsed, without consuming any input.
7979
# ~
8080
# Commit to the current alternative, even if it fails to parse.
81+
# &&e
82+
# Eager parse e. The parser will not backtrack and will immediately
83+
# fail with SyntaxError if e cannot be parsed.
8184
#
8285

8386
# STARTING RULES

0 commit comments

Comments
 (0)