diff --git a/traitlets/traitlets.py b/traitlets/traitlets.py index 3710ed4e..9bf8e75a 100644 --- a/traitlets/traitlets.py +++ b/traitlets/traitlets.py @@ -1008,7 +1008,6 @@ def setup_class(cls, classdict): cls._all_trait_default_generators[name] = trait.default - def observe(*names, type="change"): """A decorator which can be used to observe Traits on a class. @@ -1225,7 +1224,6 @@ def setup_instance(*args, **kwargs): descriptor.instance_init(self) - class HasTraits(HasDescriptors, metaclass=MetaHasTraits): _trait_values: t.Dict[str, t.Any] _trait_notifiers: t.Dict[str, t.Any]