forked from VimPlug/jedi
Better signature support for docstrings
This commit is contained in:
@@ -197,7 +197,7 @@ class DirectObjectAccess(object):
|
||||
except AttributeError:
|
||||
return None
|
||||
|
||||
def py__doc__(self, include_call_signature=False):
|
||||
def py__doc__(self):
|
||||
return force_unicode(inspect.getdoc(self._obj)) or u''
|
||||
|
||||
def py__name__(self):
|
||||
|
||||
@@ -108,7 +108,7 @@ class CompiledObject(Context):
|
||||
def is_stub(self):
|
||||
return False
|
||||
|
||||
def py__doc__(self, include_call_signature=False):
|
||||
def py__doc__(self):
|
||||
return self.access_handle.py__doc__()
|
||||
|
||||
def get_param_names(self):
|
||||
|
||||
Reference in New Issue
Block a user