uplink
uplink copied to clipboard
Code suggestion: use abc instead of raising NotImplementedError in interfaces
abc module provides the infrastructure for defining abstract base classes (ABCs) in Python, as outlined in PEP 3119. The point is that not fully defined successors of abstract base class cannot be instantiated unlike objects with methods raising NotImplementedError.