This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author RobEin
Recipients RobEin, lys.nikolaou, pablogsal
Date 2022-01-23.10:38:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642934336.87.0.137852239305.issue46485@roundup.psfhosted.org>
In-reply-to
Content
This is probably not an error and I may misinterpret the PEP 617, but I don't know what the ~ PEG operator means in the next rule if there is no alternative:
assignment_expression:
    | NAME ':=' ~ expression


And similarly with this rule if there is no more alternative:
assignment:
    | NAME ':' expression ['=' annotated_rhs ] 
    | ('(' single_target ')' 
         | single_subscript_attribute_target) ':' expression ['=' annotated_rhs ] 
    | (star_targets '=' )+ (yield_expr | star_expressions) !'=' [TYPE_COMMENT] 
    | single_target augassign ~ (yield_expr | star_expressions)

Related links:
https://docs.python.org/3/reference/grammar.html
https://www.python.org/dev/peps/pep-0617/#id9
History
Date User Action Args
2022-01-23 10:38:56RobEinsetrecipients: + RobEin, lys.nikolaou, pablogsal
2022-01-23 10:38:56RobEinsetmessageid: <1642934336.87.0.137852239305.issue46485@roundup.psfhosted.org>
2022-01-23 10:38:56RobEinlinkissue46485 messages
2022-01-23 10:38:56RobEincreate