Message411360
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 |
|
Date |
User |
Action |
Args |
2022-01-23 10:38:56 | RobEin | set | recipients:
+ RobEin, lys.nikolaou, pablogsal |
2022-01-23 10:38:56 | RobEin | set | messageid: <1642934336.87.0.137852239305.issue46485@roundup.psfhosted.org> |
2022-01-23 10:38:56 | RobEin | link | issue46485 messages |
2022-01-23 10:38:56 | RobEin | create | |
|