mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
refactorings / added used_names to Module
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user