diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-11-20 07:49:58 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-11-20 07:49:58 (GMT) |
commit | 6fbd7741db5cb6db4cd49722d42f20d2b1d7dc0a (patch) | |
tree | 29a1fc1122e7e38c1038abadd07bef1729b0eb61 /Lib | |
parent | 97cabb9fa5bd257aceae724f4727fe54580c4e9f (diff) | |
download | cpython-6fbd7741db5cb6db4cd49722d42f20d2b1d7dc0a.zip cpython-6fbd7741db5cb6db4cd49722d42f20d2b1d7dc0a.tar.gz cpython-6fbd7741db5cb6db4cd49722d42f20d2b1d7dc0a.tar.bz2 |
Issue #25670: Remove duplicate getattr() from ast.NodeTransformer
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ast.py | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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: |