PEP 617: Fix expression typo in rationale (#3244)
This commit is contained in:
parent
68a7773da4
commit
de468dbe57
|
@ -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
|
implemented in the grammar and in other parts of CPython to deal with this. For
|
||||||
example, consider the rule for assignment expressions::
|
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
|
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
|
elements of the *first set* of the rule *test*. To work around this limitation the
|
||||||
|
|
Loading…
Reference in New Issue