You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Bug in "async for" indentation
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,12 @@
|
||||
async def a(b, c):
|
||||
async for b in c:
|
||||
pass
|
||||
|
||||
# From 3.7 test_generators.py
|
||||
# Bug was getting indentation correct for multiple async's
|
||||
async def foo(X):
|
||||
async for i in X:
|
||||
pass
|
||||
async for i in X:
|
||||
pass
|
||||
raise Done
|
||||
|
Reference in New Issue
Block a user