Bug in "async for" indentation

This commit is contained in:
rocky
2020-02-06 23:54:03 -05:00
parent 6525ade805
commit 7fb50918cd
6 changed files with 11 additions and 8 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -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