Skip to content

Commit

Permalink
removed getattr
Browse files Browse the repository at this point in the history
I can not recall why I added it.

Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Jun 4, 2024
1 parent f73e56e commit 1d3f4da
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sisl/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,6 @@ def __ror__(self, arg: Any) -> IterableAny:
"""Allow piping of function calls (on the right side)"""
return self(arg)

def __getattr__(self, attr):
raise RuntimeError(f"{self.__class__.__name__} can not be used with {attr}.")


listify = Listify()

Expand Down

0 comments on commit 1d3f4da

Please sign in to comment.