Close #1
This commit is contained in:
parent
177e52c492
commit
8737ecef65
@ -195,8 +195,8 @@ class AST27Converter(object):
|
|||||||
body = body if isinstance(body, list) else [body]
|
body = body if isinstance(body, list) else [body]
|
||||||
orel = []
|
orel = []
|
||||||
|
|
||||||
body = _adjust_body(body, do_ret=self.in_fn)
|
body = _adjust_body(body, do_ret=False)
|
||||||
orel = _adjust_body(orel, do_ret=self.in_fn)
|
orel = _adjust_body(orel, do_ret=False)
|
||||||
|
|
||||||
return ast.For(
|
return ast.For(
|
||||||
target=ast.Name(id=str(aname), ctx=ast.Store()),
|
target=ast.Name(id=str(aname), ctx=ast.Store()),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user