mirror of
https://github.com/python/cpython
synced 2024-11-02 12:55:22 +00:00
b0aba1fcdc
Currently walruses are not allowerd in set literals and set comprehensions: >>> {y := 4, 4**2, 3**3} File "<stdin>", line 1 {y := 4, 4**2, 3**3} ^ SyntaxError: invalid syntax but they should be allowed as well per PEP 572 |
||
---|---|---|
.. | ||
python.gram | ||
Tokens |