]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-44273: Improve syntax error message for assigning to "..." (GH-26477)...
authorPablo Galindo <Pablogsal@gmail.com>
Thu, 3 Jun 2021 21:22:28 +0000 (22:22 +0100)
committerGitHub <noreply@github.com>
Thu, 3 Jun 2021 21:22:28 +0000 (22:22 +0100)
commit3283bf4519139cf62ba04a76930f84ca1e7da910
treee4693da282b432d9adbb492b4286829d832858cb
parent976598d36bd180024c5f0edf1f7ec0f0b436380f
[3.10] bpo-44273: Improve syntax error message for assigning to "..." (GH-26477) (GH-26478)

Use "ellipsis" instead of "Ellipsis" in syntax error messages to eliminate confusion with built-in variable Ellipsis.
(cherry picked from commit 39dd141)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_syntax.py
Parser/pegen.c