summaryrefslogtreecommitdiffstats
path: root/Grammar
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2020-12-14 17:10:10 (GMT)
committerGitHub <noreply@github.com>2020-12-14 17:10:10 (GMT)
commit42c9f0fd0a5e67d4ae0022bfd7370cb9725a5b01 (patch)
tree841b16481c023d651481743f03bad3030449a54f /Grammar
parentf5e97b72fecff9b9ced35704ec5e6cad29e2825d (diff)
downloadcpython-42c9f0fd0a5e67d4ae0022bfd7370cb9725a5b01.zip
cpython-42c9f0fd0a5e67d4ae0022bfd7370cb9725a5b01.tar.gz
cpython-42c9f0fd0a5e67d4ae0022bfd7370cb9725a5b01.tar.bz2
bpo-36541: Add lib2to3 grammar PEP-570 pos-only arg parsing (GH-23759)
Add positional only args support to lib2to3 pgen2. This adds 3.8's PEP-570 support to lib2to3's pgen2. lib2to3, while being deprecated is still used by things to parse all versions of Python code today. We need it to support parsing modern 3.8 and 3.9 constructs. Also add tests for complex *expr and **expr's.
Diffstat (limited to 'Grammar')
0 files changed, 0 insertions, 0 deletions