forked from VimPlug/jedi
use Help instead of Documentation. see #392 for a discussion about that.
This commit is contained in:
@@ -230,7 +230,7 @@ class BaseDefinition(object):
|
|||||||
Document for function f.
|
Document for function f.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
return Documentation(self._definition)
|
return Help(self._definition)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def doc(self):
|
def doc(self):
|
||||||
@@ -467,7 +467,7 @@ class Completion(BaseDefinition):
|
|||||||
if followed:
|
if followed:
|
||||||
# TODO: Use all of the followed objects as input to Documentation.
|
# TODO: Use all of the followed objects as input to Documentation.
|
||||||
definition = followed[0]
|
definition = followed[0]
|
||||||
return Documentation(definition)
|
return Help(definition)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def type(self):
|
def type(self):
|
||||||
@@ -708,7 +708,7 @@ class _Param(Definition):
|
|||||||
return self.description
|
return self.description
|
||||||
|
|
||||||
|
|
||||||
class Documentation(object):
|
class Help(object):
|
||||||
def __init__(self, definition):
|
def __init__(self, definition):
|
||||||
self._definition = definition
|
self._definition = definition
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user