diff --git a/slothy/object.py b/slothy/object.py index 444cf08..787dd78 100644 --- a/slothy/object.py +++ b/slothy/object.py @@ -27,12 +27,12 @@ class SlothyObject: __package__: str def __setattr__(self, attr: str, value: Any) -> None: - """Intercept attribute assignment and raise an error if it's attempted.""" + """Audit and perform attribute assignment.""" on_slothy_setattr(self, attr, value) super().__setattr__(attr, value) def __delattr__(self, attr: str) -> None: - """Intercept attribute assignment and raise an error if it's attempted.""" + """Audit and perform attribute deletion.""" on_slothy_delattr(self, attr) super().__delattr__(attr)