]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-34013: Generalize the invalid legacy statement error message (GH-27389...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Tue, 27 Jul 2021 17:52:32 +0000 (18:52 +0100)
committerGitHub <noreply@github.com>
Tue, 27 Jul 2021 17:52:32 +0000 (18:52 +0100)
commitb977f8510e2ff4f11e3bda920722098a242fc8cc
tree2e482298654ce04f9a484606f75ee6b63ba7ea2c
parentbe2415487ab80e4bd5ace2954651e78b107b17e4
[3.10] bpo-34013: Generalize the invalid legacy statement error message (GH-27389). (GH-27391)

(cherry picked from commit 6948964ecf94e858448dd28eea634317226d2913)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Grammar/python.gram
Lib/test/test_exceptions.py
Lib/test/test_syntax.py
Misc/NEWS.d/next/Core and Builtins/2021-07-27-11-14-22.bpo-34013.SjLFe-.rst [new file with mode: 0644]
Parser/parser.c
Parser/pegen.c
Parser/pegen.h