__coerce__ called for dict keys?

Irmen de Jong irmen at NOSPAM-REMOVETHIS-xs4all.nl
Thu Oct 31 04:28:55 EST 2002


Paul D. Lusk wrote:

>
> I think you need __eq__ rather than __cmp__ in 2.2

Thanks for the tip!
I see I have to check on some details when using Python 2.2...

Irmen




More information about the Python-list mailing list