Merge pull request #7200 from jasongrout/widget-warning

Make the widget experimental error a real python warning
pull/37/head
Brian E. Granger 12 years ago
commit 8ea37a4b2b

@ -25,6 +25,5 @@ from .widget_selectioncontainer import TabWidget, AccordionWidget
from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget
# Warn on import
from IPython.utils.warn import warn
warn("""The widget API is still considered experimental and
may change by the next major release of IPython.""")
from warnings import warn
warn("""The widget API is still considered experimental and may change in the future.""", FutureWarning, stacklevel=2)

Loading…
Cancel
Save