##// END OF EJS Templates
Backport PR #9980: Improve some (deprecation) warnings with versions and stacklevel....
Backport PR #9980: Improve some (deprecation) warnings with versions and stacklevel. Signed-off-by: Thomas Kluyver <thomas@kluyver.me.uk>

File last commit:

r21892:abd03140
r23140:afda346b
Show More
kernel.py
13 lines | 297 B | text/x-python | PythonLexer
"""[DEPRECATED] Utilities for connecting to kernels
Moved to IPython.kernel.connect
"""
import warnings
warnings.warn("IPython.lib.kernel moved to IPython.kernel.connect in IPython 1.0,"
" and will be removed in IPython 6.0.",
DeprecationWarning
)
from ipykernel.connect import *