mirror of
https://github.com/python/cpython.git
synced 2025-08-29 21:25:01 +00:00
Issue #28008: Fix test_unparse
This commit is contained in:
parent
8b26702fa3
commit
bf04b0698b
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue