mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-21 05:37:05 +08:00
deprecate Param.get_code
This commit is contained in:
1 parent
c5833003dc
commit
88af0ad7d7
1 file changed
+5
-2
+5
-2
@@ -599,7 +599,10 @@ class Param(Definition):
|
|||||||
"""
|
"""
|
||||||
def get_code(self):
|
def get_code(self):
|
||||||
"""
|
"""
|
||||||
A function to get the whole code of the param. We might deprecate this
|
.. deprecated:: 0.8.0
|
||||||
function in the future, use :attr:`.description` instead.
|
Use :attr:`.description` and :attr:`.name` instead.
|
||||||
|
.. todo:: Remove!
|
||||||
|
|
||||||
|
A function to get the whole code of the param.
|
||||||
"""
|
"""
|
||||||
return self.description
|
return self.description
|
||||||
Reference in new issue
Block a user