summaryrefslogtreecommitdiff
path: root/systrace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'systrace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/__init__.py')
-rw-r--r--systrace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/systrace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/__init__.py b/systrace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/__init__.py
index 1bed84b..610bc15 100644
--- a/systrace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/__init__.py
+++ b/systrace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/__init__.py
@@ -6,7 +6,7 @@
from py_utils.refactor.annotated_symbol.class_definition import *
from py_utils.refactor.annotated_symbol.function_definition import *
from py_utils.refactor.annotated_symbol.import_statement import *
-from py_utils.refactor.annotated_symbol.reference import * # pylint: disable=redefined-builtin
+from py_utils.refactor.annotated_symbol.reference import *
from py_utils.refactor import snippet
@@ -55,7 +55,7 @@ def _AnnotateNode(node):
if not isinstance(node, snippet.Symbol):
return node
- children = [_AnnotateNode(c) for c in node.children]
+ children = map(_AnnotateNode, node.children)
for symbol_type in ANNOTATED_GROUPINGS:
annotated_grouping = symbol_type.Annotate(children)