Vladimir

10%
Flag icon
This method is not defined in the base dict class, but dict is aware of it: if you subclass dict and provide a __missing__ method, the standard dict.__getitem__ will call it whenever a key is not found, instead of raising KeyError.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview