]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44947: Refine the syntax error for trailing commas in import statements (GH-27814)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 18 Aug 2021 20:32:01 +0000 (13:32 -0700)
committerGitHub <noreply@github.com>
Wed, 18 Aug 2021 20:32:01 +0000 (13:32 -0700)
commit846a10fc45ef83b41d1b1b568a9ee8012f37c8c2
treebe89748501548ee29a1db86ae0e835ee185bb29f
parentd1c0e4413dd544270df1f5b8a145fd4370cb759b
bpo-44947: Refine the syntax error for trailing commas in import statements (GH-27814)

(cherry picked from commit b2f68b190035540872072ac1d2349e7745e85596)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Grammar/python.gram
Lib/test/test_syntax.py
Misc/NEWS.d/next/Core and Builtins/2021-08-18-19-09-28.bpo-44947.mcvGdS.rst [new file with mode: 0644]
Parser/parser.c