I have a class (let\'s call it myClass) that implements both __hash__ and __eq__. I also have a dict that maps myCl
myClass
__hash__
__eq__
dict
myCl
__hash__ defines the bucket the object is put into, __eq__ gets called only when objects are in the same bucket.