##// END OF EJS Templates
DOC: fix typo in deprecation warning (#14521)...
Paul Ivanov -
r28863:6c00ceac merge
parent child Browse files
Show More
@@ -41,7 +41,11 from warnings import warn
41
41
42 def __getattr__(name):
42 def __getattr__(name):
43 if name in _deprecated_names:
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 return getattr(display_functions, name)
49 return getattr(display_functions, name)
46
50
47 if name in globals().keys():
51 if name in globals().keys():
General Comments 0
You need to be logged in to leave comments. Login now