Vladimir

42%
Flag icon
When implementing a class that emulates any built-in type, it is important that the emulation only be implemented to the degree that it makes sense for the object being modeled. For example, some sequences may work well with retrieval of individual elements, but extracting a slice may not make sense.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview