mirror of https://github.com/python/cpython
Merge 3.5 (issue #25670)
This commit is contained in:
commit
c50ec007ff
|
@ -293,7 +293,6 @@ class NodeTransformer(NodeVisitor):
|
|||
|
||||
def generic_visit(self, node):
|
||||
for field, old_value in iter_fields(node):
|
||||
old_value = getattr(node, field, None)
|
||||
if isinstance(old_value, list):
|
||||
new_values = []
|
||||
for value in old_value:
|
||||
|
|
Loading…
Reference in New Issue