bpo-44273: Improve syntax error message for assigning to "..." #26477
+2
−2
Conversation
Use "ellipsis" instead of "Ellipsis" to eliminate confusion with builtin variable Ellipsis.
9b6a50a
to
b29b566
|
Thanks a lot @serhiy-storchaka! |
pablogsal
added a commit
to pablogsal/cpython
that referenced
this pull request
Jun 1, 2021
…pythonGH-26477) 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>
|
GH-26478 is a backport of this pull request to the 3.10 branch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Use "ellipsis" instead of "Ellipsis" to eliminate confusion with builtin variable Ellipsis.
https://bugs.python.org/issue44273