forked from VimPlug/jedi
Finished changing the import logic. The sys.path calculations within Jedi are clearer now.
This commit is contained in:
@@ -74,6 +74,9 @@ class CompiledObject(Base):
|
||||
def py__bool__(self):
|
||||
return bool(self.obj)
|
||||
|
||||
def py__file__(self):
|
||||
return self.obj.__file__
|
||||
|
||||
def is_class(self):
|
||||
return inspect.isclass(self.obj)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user