Vladimir

42%
Flag icon
Most ABCs in the collections.abc module exist to formalize interfaces that are implemented by built-in objects and are implicitly supported by the interpreter—both of which predate the ABCs themselves. The ABCs are useful as starting points for new classes, and to support explicit type checking at runtime (a.k.a. goose typing) as well as type hints for static type checkers.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview