##// END OF EJS Templates
Typo + Add Warning class for deprecation....
Typo + Add Warning class for deprecation. Also set the stack level to 2, to get the warning where the context manager is constructed, if used.

File last commit:

r21298:3800dd18
r22633:18d1281c
Show More
consoleapp.py
12 lines | 384 B | text/x-python | PythonLexer
"""
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. "
"You should import from jupyter_client.consoleapp instead.")
from jupyter_client.consoleapp import *