summaryrefslogtreecommitdiffstats
path: root/Lib/ast.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/ast.py')
-rw-r--r--Lib/ast.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/ast.py b/Lib/ast.py
index 03c30f6..0170472 100644
--- a/Lib/ast.py
+++ b/Lib/ast.py
@@ -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: