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 71dca6e commit 67729a9Copy full SHA for 67729a9
Doc/whatsnew/3.10.rst
@@ -215,9 +215,9 @@ have been incorporated. Some of the most notable ones:
215
216
.. code-block:: python
217
218
- >>> {x,y for x,y in range(100)}
+ >>> {x,y for x,y in zip('abcd', '1234')}
219
File "<stdin>", line 1
220
- {x,y for x,y in range(100)}
+ {x,y for x,y in zip('abcd', '1234')}
221
^
222
SyntaxError: did you forget parentheses around the comprehension target?
223
0 commit comments