What happened to __cmp__() in Python 3.x?
contact at xavierho.com
Sat Aug 15 14:09:50 CEST 2009
I've recently made my way to Python 3.1 and I'm not seeing __cmp__() in the
Is there a substitution for this special method in 3.1, or do I really have
to define all six rich comparison methods to work it out?
If this question has already been asked somewhere, I apologise in advance.
Already googled around but I didn't find information on this.
Any replies appreciated.
Ching-Yun "Xavier" Ho, Technical Artist
Mobile: (+61) 04 3335 4748
Skype ID: SpaXe85
Email: contact at xavierho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list