operator overloading

kazan at kazan. kazan at kazan.
Mon Jun 5 16:01:21 EDT 2000


Hello

How can I overload the less than operator?
learning python did mention something about __cmp__ but did
not provide any examples. 


Thanks in advance

Erling



More information about the Python-list mailing list