Show More
@@ -41,7 +41,11 from warnings import warn | |||
|
41 | 41 | |
|
42 | 42 | def __getattr__(name): |
|
43 | 43 | if name in _deprecated_names: |
|
44 | warn(f"Importing {name} from IPython.core.display is deprecated since IPython 7.14, please import from IPython display", DeprecationWarning, stacklevel=2) | |
|
44 | warn( | |
|
45 | f"Importing {name} from IPython.core.display is deprecated since IPython 7.14, please import from IPython.display", | |
|
46 | DeprecationWarning, | |
|
47 | stacklevel=2, | |
|
48 | ) | |
|
45 | 49 | return getattr(display_functions, name) |
|
46 | 50 | |
|
47 | 51 | if name in globals().keys(): |
General Comments 0
You need to be logged in to leave comments.
Login now