forked from VimPlug/jedi
fixed a problem with docstrings that were empty (None), docstrings in Jedi are always strings.
This commit is contained in:
@@ -26,7 +26,7 @@ class CompiledObject(Base):
|
||||
def __init__(self, obj, parent=None):
|
||||
self.obj = obj
|
||||
self.parent = parent
|
||||
self.doc = inspect.getdoc(obj)
|
||||
self.doc = inspect.getdoc(obj) or ''
|
||||
|
||||
@property
|
||||
def params(self):
|
||||
|
||||
Reference in New Issue
Block a user