Skip to content

Commit 924f383

Browse files
do not advertise private apis
1 parent e63740e commit 924f383

File tree

1 file changed

+4
-4
lines changed
  • python/ipywidgets/ipywidgets/widgets

1 file changed

+4
-4
lines changed

python/ipywidgets/ipywidgets/widgets/widget.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,22 +302,22 @@ class Widget(LoggingHasTraits):
302302

303303
@_staticproperty
304304
def widgets():
305-
warnings.warn("Widget.widgets is deprecated, use ipywidgets.widgets.widget._instances", DeprecationWarning)
305+
warnings.warn("Widget.widgets is deprecated.", DeprecationWarning)
306306
return _instances
307307

308308
@_staticproperty
309309
def _active_widgets():
310-
warnings.warn("Widget._active_widgets is deprecated, use ipywidgets.widgets.widget._instances", DeprecationWarning)
310+
warnings.warn("Widget._active_widgets is deprecated.", DeprecationWarning)
311311
return _instances
312312

313313
@_staticproperty
314314
def _widget_types():
315-
warnings.warn("Widget._widget_types is deprecated, use ipywidgets.widgets.widget._registry", DeprecationWarning)
315+
warnings.warn("Widget._widget_types is deprecated.", DeprecationWarning)
316316
return _registry
317317

318318
@_staticproperty
319319
def widget_types():
320-
warnings.warn("Widget.widget_types is deprecated, use ipywidgets.widgets.widget._registry", DeprecationWarning)
320+
warnings.warn("Widget.widget_types is deprecated.", DeprecationWarning)
321321
return _registry
322322

323323
@classmethod

0 commit comments

Comments
 (0)