diff options
Diffstat (limited to 'contrib/python/ipython/py3/IPython/consoleapp.py')
| -rw-r--r-- | contrib/python/ipython/py3/IPython/consoleapp.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/contrib/python/ipython/py3/IPython/consoleapp.py b/contrib/python/ipython/py3/IPython/consoleapp.py index 2034dd81675..c2bbe1888f5 100644 --- a/contrib/python/ipython/py3/IPython/consoleapp.py +++ b/contrib/python/ipython/py3/IPython/consoleapp.py @@ -1,12 +1,12 @@ -""" -Shim to maintain backwards compatibility with old IPython.consoleapp imports. -""" -# Copyright (c) IPython Development Team. -# Distributed under the terms of the Modified BSD License. - -from warnings import warn - -warn("The `IPython.consoleapp` package has been deprecated since IPython 4.0." - "You should import from jupyter_client.consoleapp instead.", stacklevel=2) - -from jupyter_client.consoleapp import * +""" +Shim to maintain backwards compatibility with old IPython.consoleapp imports. +""" +# Copyright (c) IPython Development Team. +# Distributed under the terms of the Modified BSD License. + +from warnings import warn + +warn("The `IPython.consoleapp` package has been deprecated since IPython 4.0." + "You should import from jupyter_client.consoleapp instead.", stacklevel=2) + +from jupyter_client.consoleapp import * |
