Skip to content

Commit

Permalink
PEP 617: Fix expression typo in rationale (#3244)
Browse files Browse the repository at this point in the history
  • Loading branch information
isnbh0 committed Aug 2, 2023
1 parent 68a7773 commit de468db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pep-0617.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ an LL(1) parser) several rules are not LL(1) and several workarounds are
implemented in the grammar and in other parts of CPython to deal with this. For
example, consider the rule for assignment expressions::

namedexpr_test: NAME [':=' test]
namedexpr_test: [NAME ':='] test

This simple rule is not compatible with the Python grammar as *NAME* is among the
elements of the *first set* of the rule *test*. To work around this limitation the
Expand Down

0 comments on commit de468db

Please sign in to comment.