Skip to content

Commit

Permalink
Don't munge unknown fields in algorithm.Transformer.
Browse files Browse the repository at this point in the history
whitequark committed Jun 13, 2015
1 parent 2167c88 commit 19f24b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pythonparser/algorithm.py
Original file line number Diff line number Diff line change
@@ -82,6 +82,8 @@ def visit(self, obj):
return list(filter(lambda x: x is not None, map(self.visit, obj)))
elif isinstance(obj, ast.AST):
return self._visit_one(obj)
else:
return obj

def compare(left, right, compare_locs=False):
"""

0 comments on commit 19f24b6

Please sign in to comment.