refactorings / added used_names to Module

This commit is contained in:
David Halter
2012-08-03 17:10:00 +02:00
parent 52d80ca06c
commit c2a5876d7b
4 changed files with 29 additions and 18 deletions

View File

@@ -387,7 +387,7 @@ class _Builtin(object):
@property
def scope(self):
return self._builtins.parser.top
return self._builtins.parser.module
def get_defined_names(self):
return self.scope.get_defined_names()