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); python/cpython#31018 (implementation of the grammar changes) <!-- gh-linked-prs --> ### Linked PRs * gh-120294 * gh-121181 * gh-124632 * gh-124633 <!-- /gh-linked-prs -->