mirror of
https://github.com/python/cpython.git
synced 2024-12-03 06:46:01 +08:00
Issue #28008: Fix test_unparse
This commit is contained in:
parent
8b26702fa3
commit
bf04b0698b
@ -444,7 +444,10 @@ class Unparser:
|
||||
self.write("}")
|
||||
|
||||
def _comprehension(self, t):
|
||||
self.write(" for ")
|
||||
if t.is_async:
|
||||
self.write(" async for ")
|
||||
else:
|
||||
self.write(" for ")
|
||||
self.dispatch(t.target)
|
||||
self.write(" in ")
|
||||
self.dispatch(t.iter)
|
||||
|
Loading…
Reference in New Issue
Block a user