Closed
Description
PEP-646 made some changes to the grammar, but neither is reflected in the language reference:
- https://docs.python.org/3/reference/expressions.html#subscriptions should mention that the right-hand side of a subscript can be a starred expression
- https://docs.python.org/3/reference/compound_stmts.html#function-definitions should mention that the annotation of an
*args
parameter can be a starred expression
References: python/peps#3671 (making the PEP final); #31018 (implementation of the grammar changes)