fixed a problem with docstrings that were empty (None), docstrings in Jedi are always strings.
This commit is contained in:
1 parent
d12e030677
commit
ca460ac34f
2 files changed
+10
-1
No files matched your search
@@ -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