mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-20 20:41:13 +08:00
Help -> _Help for now
This commit is contained in:
@@ -231,9 +231,9 @@ class BaseDefinition(object):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
if raw:
|
if raw:
|
||||||
return Help(self._definition).raw()
|
return _Help(self._definition).raw()
|
||||||
else:
|
else:
|
||||||
return Help(self._definition).full()
|
return _Help(self._definition).full()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def doc(self):
|
def doc(self):
|
||||||
@@ -470,9 +470,9 @@ class Completion(BaseDefinition):
|
|||||||
definition = followed[0]
|
definition = followed[0]
|
||||||
|
|
||||||
if raw:
|
if raw:
|
||||||
return Help(definition).raw()
|
return _Help(definition).raw()
|
||||||
else:
|
else:
|
||||||
return Help(definition).full()
|
return _Help(definition).full()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def type(self):
|
def type(self):
|
||||||
@@ -713,7 +713,7 @@ class _Param(Definition):
|
|||||||
return self.description
|
return self.description
|
||||||
|
|
||||||
|
|
||||||
class Help(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