1
0
forked from VimPlug/jedi

Param docstrings

This commit is contained in:
Dave Halter
2014-03-13 22:53:42 +01:00
parent 2ae5dad78b
commit 4b5ac063d3

View File

@@ -596,5 +596,12 @@ class CallDef(object):
class Param(Definition):
"""
Params are basically a definition for call signatures.
"""
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()