From b5e15cbbfbeaff2840a3dd7a12f11c7f5d0f449b 2014-01-16 10:56:02 From: Jonathan Frederic Date: 2014-01-16 10:56:02 Subject: [PATCH] Fixed widget imports for Python3 --- diff --git a/IPython/html/widgets/__init__.py b/IPython/html/widgets/__init__.py index 015c582..4a55678 100644 --- a/IPython/html/widgets/__init__.py +++ b/IPython/html/widgets/__init__.py @@ -1,12 +1,12 @@ -from widget import Widget, init_widget_js +from .widget import Widget, init_widget_js -from widget_bool import BoolWidget -from widget_button import ButtonWidget -from widget_container import ContainerWidget -from widget_float import FloatWidget -from widget_float_range import FloatRangeWidget -from widget_int import IntWidget -from widget_int_range import IntRangeWidget -from widget_multicontainer import MulticontainerWidget -from widget_selection import SelectionWidget -from widget_string import StringWidget +from .widget_bool import BoolWidget +from .widget_button import ButtonWidget +from .widget_container import ContainerWidget +from .widget_float import FloatWidget +from .widget_float_range import FloatRangeWidget +from .widget_int import IntWidget +from .widget_int_range import IntRangeWidget +from .widget_multicontainer import MulticontainerWidget +from .widget_selection import SelectionWidget +from .widget_string import StringWidget