diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-01-26 16:50:17 +0100 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-01-26 16:50:17 +0100 |
commit | a94d1314624be5c09732f5af47df437bf58ecd26 (patch) | |
tree | 08230fa67dacf1de6ce7648238d93de8c87c9934 /rebuilder.py | |
parent | 1af465dcb3bec6c57e6aa6c769179e9b44d5904e (diff) | |
download | astroid-git-a94d1314624be5c09732f5af47df437bf58ecd26.tar.gz |
compiler: save argument names into locals dictionary
--HG--
branch : rebuild
Diffstat (limited to 'rebuilder.py')
-rw-r--r-- | rebuilder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rebuilder.py b/rebuilder.py index 01a3c9a9..18db891d 100644 --- a/rebuilder.py +++ b/rebuilder.py @@ -276,7 +276,7 @@ class RebuildVisitor(ASTVisitor): newnode = nodes.Pass() return newnode - def _save_assigment(self, node, name=None): + def _save_assignment(self, node, name=None): """save assignement situation since node.parent is not available yet""" if self._global_names and node.name in self._global_names[-1]: self._assignments.append((node, node.name, True)) |