1
0
forked from VimPlug/jedi

fix an issue with missing '__class__' methods e.g. in numpy

This commit is contained in:
Dave Halter
2014-01-13 02:30:10 +01:00
parent c602dc1c40
commit a96a2baf5b
2 changed files with 8 additions and 2 deletions

View File

@@ -237,7 +237,7 @@ class BaseDefinition(object):
"""
try:
return self._definition.doc
return self._definition.doc or '' # Always a String, never None.
except AttributeError:
return self.raw_doc