##// END OF EJS Templates
Finish up Deprecation of `IPython.core.oinspect.py:call_tip`
Matthias Bussonnier -
Show More
@@ -0,0 +1,3 b''
1 - The function `IPython.core.oinspect.py:call_tip` is unused, was marked as
2 Deprecated (raising a Deprecation Warning) and marked for later removal
3 :ghpull:`10104`
@@ -236,8 +236,8 b' def format_argspec(argspec):'
236 def call_tip(oinfo, format_call=True):
236 def call_tip(oinfo, format_call=True):
237 """DEPRECATED. Extract call tip data from an oinfo dict.
237 """DEPRECATED. Extract call tip data from an oinfo dict.
238 """
238 """
239 warnings.warn('`call_tip` function is deprecated as of IPython 5.2 '
239 warnings.warn('`call_tip` function is deprecated as of IPython 6.0'
240 'and will have no effects.', DeprecationWarning, stacklevel=2)
240 'and will remove in future versions.', DeprecationWarning, stacklevel=2)
241 # Get call definition
241 # Get call definition
242 argspec = oinfo.get('argspec')
242 argspec = oinfo.get('argspec')
243 if argspec is None:
243 if argspec is None:
General Comments 0
You need to be logged in to leave comments. Login now