summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2009-09-03 17:16:19 +0200
committerEmile Anclin <emile.anclin@logilab.fr>2009-09-03 17:16:19 +0200
commitd647b9fb9870f169c02092f77ecfa5f9fcb2a1a4 (patch)
tree9bbe477ba5b4e5d87ecde96052cd7ff4b78c83b8 /utils.py
parent9ac26d9e89ecee9e2dba4c70d9fd8b7ebd08b067 (diff)
downloadastroid-d647b9fb9870f169c02092f77ecfa5f9fcb2a1a4.tar.gz
[R] steps toward collecting all methods of a node class in a place
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index de7457e..4ec3b9b 100644
--- a/utils.py
+++ b/utils.py
@@ -225,7 +225,9 @@ class ASTVisitor(object):
"""dummy method for visiting an Yield node"""
-REDIRECT = {'Attribute': 'Getattr',
+REDIRECT = {'arguments': 'Arguments',
+ 'Attribute': 'Getattr',
+ 'comprehension': 'Comprehension',
'Call': 'CallFunc',
'ClassDef': 'Class',
"ListCompFor": 'Comprehension',