Classes and Protocols

Building classes that feel like built-in types is the goal of this part. Python’s standard library is a long argument that good class design is about implementing the right protocols — not inheriting from the right base class.