Add support for PEP 646 syntax #3014
Labels
C: parser
How we parse code. Or fail to parse it.
S: accepted
The changes in this design / enhancement issue have been accepted and can be implemented
T: enhancement
New feature or request
PEP 646 ads two new pieces of syntax in 3.11 (https://peps.python.org/pep-0646/#grammar-changes):
x[a, *b]
def f(*args: *T): pass
We should support both and normalize the syntax to have no space after the
*
(also cc @isidentical).The text was updated successfully, but these errors were encountered: