From 2fcc6d49399b5734c9699d83f0a58c95eed05cad 2014-08-20 16:34:05 From: Jonathan Frederic Date: 2014-08-20 16:34:05 Subject: [PATCH] Fix typo in deprecated class name. --- diff --git a/IPython/html/widgets/__init__.py b/IPython/html/widgets/__init__.py index 618515e..c16c7d7 100644 --- a/IPython/html/widgets/__init__.py +++ b/IPython/html/widgets/__init__.py @@ -12,7 +12,7 @@ from .widget_string import HTML, Latex, Text, Textarea from .interaction import interact, interactive, fixed # Deprecated classes -from .widget_bool import CheckBox, ToggleButtonWidget +from .widget_bool import CheckboxWidget, ToggleButtonWidget from .widget_button import ButtonWidget from .widget_box import ContainerWidget, PopupWidget from .widget_float import FloatTextWidget, BoundedFloatTextWidget, FloatSliderWidget, FloatProgressWidget diff --git a/IPython/html/widgets/widget_bool.py b/IPython/html/widgets/widget_bool.py index 06f912e..b7bbb1d 100644 --- a/IPython/html/widgets/widget_bool.py +++ b/IPython/html/widgets/widget_bool.py @@ -39,5 +39,5 @@ class ToggleButton(_Bool): # Remove in IPython 4.0 -CheckBox = DeprecatedClass(Checkbox, 'CheckBox') +CheckboxWidget = DeprecatedClass(Checkbox, 'CheckboxWidget') ToggleButtonWidget = DeprecatedClass(ToggleButton, 'ToggleButtonWidget')