Skip to content

Commit d2b5056

Browse files
authored
refactoring: ♻️ Missing __slots__
1 parent e033786 commit d2b5056

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

injection/_core/common/invertible.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
@runtime_checkable
88
class Invertible[T](Protocol):
9+
__slots__ = ()
10+
911
@abstractmethod
1012
def __invert__(self) -> T:
1113
raise NotImplementedError

0 commit comments

Comments
 (0)