Show More
@@ -0,0 +1,17 b'' | |||||
|
1 | """ | |||
|
2 | Shim to maintain backwards compatibility with old IPython.html imports. | |||
|
3 | """ | |||
|
4 | # Copyright (c) IPython Development Team. | |||
|
5 | # Distributed under the terms of the Modified BSD License. | |||
|
6 | ||||
|
7 | import sys | |||
|
8 | from warnings import warn | |||
|
9 | ||||
|
10 | warn("The `IPython.html` package has been deprecated. " | |||
|
11 | "You should import from jupyter_notebook instead.") | |||
|
12 | ||||
|
13 | from IPython.utils.shimmodule import ShimModule | |||
|
14 | ||||
|
15 | sys.modules['IPython.html'] = ShimModule( | |||
|
16 | src='IPython.html', mirror='jupyter_notebook') | |||
|
17 |
General Comments 0
You need to be logged in to leave comments.
Login now