Re:Frankenstein's `__init__`
by dragonwriter on Saturday April 19, 2025 @02:45PM
(#43738492)
Protocols, too (they are defined on top of ABCs)
https://typing.python.org/en/latest/spec/protocol.html#proto...
The abstract base class should use the @abstractmethod decorator for methods that the implementing class needs to implement itself.
Obviously, you can also use abstract base classes in other ways, but they can be used as a way to define traits/interfaces for classes.