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 976598d commit 3283bf4Copy full SHA for 3283bf4
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