Param docstrings
This commit is contained in:
1 parent
2ae5dad78b
commit
4b5ac063d3
1 file changed
+7
@@ -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()
|
||||
Reference in new issue
Block a user