Normal dict behavior?

Christian Heimes christian at python.org
Wed May 7 11:34:26 EDT 2014


On 07.05.2014 17:20, Ned Batchelder wrote:
> Because 0 == 0.0
> 

hash(0) == hash(0.0) and 0 == 0.0

Christian




More information about the Python-list mailing list