mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Make the widget error message shorter and more understandable.
This commit is contained in:
parent
c8d70e0603
commit
e489718d5c
@ -26,4 +26,4 @@ from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget
|
||||
|
||||
# Warn on import
|
||||
from warnings import warn
|
||||
warn("""The widget API is still considered experimental and may change in the future.""", FutureWarning, stacklevel=2)
|
||||
warn("IPython widgets are experimental and may change in the future.", FutureWarning, stacklevel=2)
|
||||
|
Loading…
Reference in New Issue
Block a user