Skip to content

Commit

Permalink
Fix docstrings of SlothyObject
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck committed Jun 9, 2024
1 parent 9569614 commit cf705e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slothy/object.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit cf705e9

Please sign in to comment.