##// END OF EJS Templates
Remove Deprecation Warning, add since when things were deprecated.
Matthias Bussonnier -
Show More
@@ -1,12 +1,12
1 """
1 """
2 Shim to maintain backwards compatibility with old IPython.consoleapp imports.
2 Shim to maintain backwards compatibility with old IPython.consoleapp imports.
3 """
3 """
4 # Copyright (c) IPython Development Team.
4 # Copyright (c) IPython Development Team.
5 # Distributed under the terms of the Modified BSD License.
5 # Distributed under the terms of the Modified BSD License.
6
6
7 from warnings import warn
7 from warnings import warn
8
8
9 warn("The `IPython.consoleapp` package has been deprecated. "
9 warn("The `IPython.consoleapp` package has been deprecated since IPython 4.0."
10 "You should import from jupyter_client.consoleapp instead.", DeprecationWarning, stacklevel=2)
10 "You should import from jupyter_client.consoleapp instead.", stacklevel=2)
11
11
12 from jupyter_client.consoleapp import *
12 from jupyter_client.consoleapp import *
General Comments 0
You need to be logged in to leave comments. Login now