Refactor Jedi so we use stub modules as much as possible
This commit is contained in:
1 parent
3afcfccba8
commit
0e42df2da7
12 files changed
+125
-86
No files matched your search
@@ -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__()
|
||||
|
||||
|
||||
Reference in new issue
Block a user