◐ Shell
clean mode source ↗

Message 286280 - Python tracker

>>> async def foo():
...     bar = [await x for x in range(10)]
  File "<input>", line 2
SyntaxError: 'await' expressions in comprehensions are not supported