Vladimir

49%
Flag icon
In modern Python, if a class is intended to define an interface, it should be an explicit ABC or a typing.Protocol subclass. An ABC should subclass only abc.ABC or other ABCs. Multiple inheritance of ABCs is not problematic.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview