mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-118323: Document &&
grammar syntax (#118324)
This commit is contained in:
parent
c57326f487
commit
51aefc5bf9
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue