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 e3434cf commit d7f77c1Copy full SHA for d7f77c1
1 file changed
peps/pep-0798.rst
@@ -336,13 +336,13 @@ cases:
336
File "<stdin>", line 1
337
[*x if x else y]
338
^^^^^^^^^^^^^^
339
- SyntaxError: invalid starred expression. did you forget to wrap the conditional expression in parentheses?
+ SyntaxError: invalid starred expression. Did you forget to wrap the conditional expression in parentheses?
340
341
>>> {**x if x else y}
342
343
{**x if x else y}
344
^^^^^^^^^^^^^^^
345
- SyntaxError: invalid double starred expression. did you forget to wrap the conditional expression in parentheses?
+ SyntaxError: invalid double starred expression. Did you forget to wrap the conditional expression in parentheses?
346
347
>>> [x if x else *y]
348
0 commit comments