xrange not hashable - why not?

"Martin v. Löwis" martin at v.loewis.de
Sun Jan 25 19:27:22 CET 2004


Gerrit Holl wrote:
> why is an xrange object not hashable?

Because they don't have a notion of equality
beyond identity.

Regards,
Martin




More information about the Python-list mailing list