forked from VimPlug/jedi
Param docstrings
This commit is contained in:
@@ -596,5 +596,12 @@ class CallDef(object):
|
|||||||
|
|
||||||
|
|
||||||
class Param(Definition):
|
class Param(Definition):
|
||||||
|
"""
|
||||||
|
Params are basically a definition for call signatures.
|
||||||
|
"""
|
||||||
def get_code(self):
|
def get_code(self):
|
||||||
|
"""
|
||||||
|
A function to get the whole code of the param. We might deprecate this
|
||||||
|
function in the future, use :attr:`.description` instead.
|
||||||
|
"""
|
||||||
return self._definition.get_code()
|
return self._definition.get_code()
|
||||||
|
|||||||
Reference in New Issue
Block a user