From c41b90ba16a043a88486cc5350940238406b1275 2016-12-25 20:05:47 From: Matthias Bussonnier Date: 2016-12-25 20:05:47 Subject: [PATCH] Finish up Deprecation of `IPython.core.oinspect.py:call_tip` --- diff --git a/IPython/core/oinspect.py b/IPython/core/oinspect.py index 7934e5e..418fae3 100644 --- a/IPython/core/oinspect.py +++ b/IPython/core/oinspect.py @@ -236,8 +236,8 @@ def format_argspec(argspec): def call_tip(oinfo, format_call=True): """DEPRECATED. Extract call tip data from an oinfo dict. """ - warnings.warn('`call_tip` function is deprecated as of IPython 5.2 ' - 'and will have no effects.', DeprecationWarning, stacklevel=2) + warnings.warn('`call_tip` function is deprecated as of IPython 6.0' + 'and will remove in future versions.', DeprecationWarning, stacklevel=2) # Get call definition argspec = oinfo.get('argspec') if argspec is None: diff --git a/docs/source/whatsnew/pr/deprecate-calltip.rst b/docs/source/whatsnew/pr/deprecate-calltip.rst new file mode 100644 index 0000000..d7dbe2c --- /dev/null +++ b/docs/source/whatsnew/pr/deprecate-calltip.rst @@ -0,0 +1,3 @@ +- The function `IPython.core.oinspect.py:call_tip` is unused, was marked as + Deprecated (raising a Deprecation Warning) and marked for later removal + :ghpull:`10104`