summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/IPython/lib/kernel.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python/ipython/py2/IPython/lib/kernel.py')
-rw-r--r--contrib/python/ipython/py2/IPython/lib/kernel.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/python/ipython/py2/IPython/lib/kernel.py b/contrib/python/ipython/py2/IPython/lib/kernel.py
new file mode 100644
index 00000000000..af9827667fb
--- /dev/null
+++ b/contrib/python/ipython/py2/IPython/lib/kernel.py
@@ -0,0 +1,13 @@
+"""[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 *
+