From 888af91e18706de458ff94b36c57dbe2a6c1bb00 2014-01-16 10:57:14 From: Jonathan Frederic Date: 2014-01-16 10:57:14 Subject: [PATCH] s/_handle_widget_constructed/_call_widget_constructed --- diff --git a/IPython/html/widgets/widget.py b/IPython/html/widgets/widget.py index eded273..1f9e4f5 100644 --- a/IPython/html/widgets/widget.py +++ b/IPython/html/widgets/widget.py @@ -44,7 +44,7 @@ class Widget(LoggingConfigurable): callback(widget)""" Widget.widget_construction_callback = callback - def _handle_widget_constructed(widget): + def _call_widget_constructed(widget): """Class method, called when a widget is constructed.""" if Widget.widget_construction_callback is not None and callable(Widget.widget_construction_callback): Widget.widget_construction_callback(widget) @@ -71,7 +71,7 @@ class Widget(LoggingConfigurable): super(Widget, self).__init__(**kwargs) self.on_trait_change(self._handle_property_changed, self.keys) - Widget._handle_widget_constructed(self) + Widget._call_widget_constructed(self) def __del__(self): """Object disposal"""