##// END OF EJS Templates
Make the widget experimental error a real python warning...
Jason Grout -
Show More
@@ -25,6 +25,5 b' from .widget_selectioncontainer import TabWidget, AccordionWidget'
25 from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget
25 from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget
26
26
27 # Warn on import
27 # Warn on import
28 from IPython.utils.warn import warn
28 from warnings import warn
29 warn("""The widget API is still considered experimental and
29 warn("""The widget API is still considered experimental and may change in the future.""", FutureWarning, stacklevel=2)
30 may change by the next major release of IPython.""")
General Comments 0
You need to be logged in to leave comments. Login now