Python interpreter bug

brianmce at gmail.com brianmce at gmail.com
Fri Oct 7 10:59:21 EDT 2005


For this, you can also define the __eq__ method, which will be
preferred to __cmp__ for equallity tests while still using __cmp__ for
searching / comparisons.




More information about the Python-list mailing list