1
0
forked from VimPlug/jedi

Refactor Jedi so we use stub modules as much as possible

This commit is contained in:
Dave Halter
2019-05-01 00:52:02 +02:00
parent 3afcfccba8
commit 0e42df2da7
12 changed files with 125 additions and 86 deletions

View File

@@ -82,6 +82,14 @@ class CompiledObject(Context):
def py__path__(self):
return self.access_handle.py__path__()
@property
def string_names(self):
# For modules
return tuple(self.py__name__().split('.'))
def get_qualified_names(self):
return self.string_names
def py__bool__(self):
return self.access_handle.py__bool__()