Vladimir

9%
Flag icon
An object is hashable if it has a hash code which never changes during its lifetime (it needs a __hash__() method), and can be compared to other objects (it needs an __eq__() method). Hashable objects which compare equal must have the same hash code.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview