Show More
consoleapp.py
12 lines
| 415 B
| text/x-python
|
PythonLexer
/ IPython / consoleapp.py
|
r21025 | """ | ||
Shim to maintain backwards compatibility with old IPython.consoleapp imports. | ||||
|
r5603 | """ | ||
|
r16497 | # Copyright (c) IPython Development Team. | ||
# Distributed under the terms of the Modified BSD License. | ||||
|
r5603 | |||
|
r21025 | from warnings import warn | ||
|
r5603 | |||
|
r24241 | warn("The `IPython.consoleapp` package has been deprecated since IPython 4.0." | ||
"You should import from jupyter_client.consoleapp instead.", stacklevel=2) | ||||
|
r5603 | |||
|
r21025 | from jupyter_client.consoleapp import * | ||