From 88af0ad7d7740b317747e392a3fb0fcbcc7847c5 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Thu, 13 Mar 2014 23:11:20 +0100 Subject: [PATCH] deprecate Param.get_code --- jedi/api/classes.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jedi/api/classes.py b/jedi/api/classes.py index 4b467aac..9839c302 100644 --- a/jedi/api/classes.py +++ b/jedi/api/classes.py @@ -599,7 +599,10 @@ class Param(Definition): """ 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. + .. deprecated:: 0.8.0 + Use :attr:`.description` and :attr:`.name` instead. + .. todo:: Remove! + + A function to get the whole code of the param. """ return self.description