You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 08:49:51 +08:00
Add 3.7 "async for" in generator
This commit is contained in:
5
test/simple_source/bug37/02_async_for_generator.py
Normal file
5
test/simple_source/bug37/02_async_for_generator.py
Normal file
@@ -0,0 +1,5 @@
|
||||
# From 3.7 test_asyncgen.py
|
||||
# Bug is handling new "async for" lingo
|
||||
def make_arange(n):
|
||||
# This syntax is legal starting with Python 3.7
|
||||
return (i * 2 async for i in n)
|
Reference in New Issue
Block a user