Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fffa0f9 commit 39dd141Copy full SHA for 39dd141
2 files changed
Lib/test/test_syntax.py
@@ -93,7 +93,7 @@
93
94
>>> ... = 1
95
Traceback (most recent call last):
96
-SyntaxError: cannot assign to Ellipsis here. Maybe you meant '==' instead of '='?
+SyntaxError: cannot assign to ellipsis here. Maybe you meant '==' instead of '='?
97
98
>>> `1` = 1
99
Parser/pegen.c
@@ -217,7 +217,7 @@ _PyPegen_get_expr_name(expr_ty e)
217
return "True";
218
}
219
if (value == Py_Ellipsis) {
220
- return "Ellipsis";
+ return "ellipsis";
221
222
return "literal";
223
0 commit comments