Xavier Ho wrote:
Hey all,
I've recently made my way to Python 3.1 and I'm not seeing __cmp__() in the
documentation.
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
Contact Information
Mobile: (+61) 04 3335 4748
Skype ID: SpaXe85
Email: cont...@xavierho.com
Website: http://xavierho.com/
http://bytes.com/topic/python/answers/844614-python-3-sorting-comparison-function
--
Kindest regards.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list