]> granicus.if.org Git - python/commit
bpo-33064: lib2to3: support trailing comma after *args and **kwargs (#6096)
authorŁukasz Langa <lukasz@langa.pl>
Tue, 13 Mar 2018 07:44:49 +0000 (00:44 -0700)
committerGitHub <noreply@github.com>
Tue, 13 Mar 2018 07:44:49 +0000 (00:44 -0700)
commitb51f5de71163f096d2d5229ede5379cdb284f651
tree2e2cd21070d32c6000c68ad7143295f10685c75d
parenta34510a4c562b4b23c7f9da6ff6e2318484f5f1a
bpo-33064: lib2to3: support trailing comma after *args and **kwargs (#6096)

New tests also added.

I also made the comments in line with the builtin Grammar/Grammar. PEP 306 was
withdrawn, Kees Blom's railroad program has been lost to the sands of time for
at least 16 years now (I found a python-dev post from people looking for it).
Lib/lib2to3/Grammar.txt
Lib/lib2to3/tests/test_parser.py
Misc/NEWS.d/next/Library/2018-03-12-19-58-25.bpo-33064.LO2KIY.rst [new file with mode: 0644]