Trouble with max() and __cmp__()

Thomas Nelson thn at mail.utexas.edu
Sun Jan 28 16:21:31 EST 2007



On Jan 28, 3:13 pm, Wojciech Muła 
<wojciech_m... at poczta.null.onet.pl.invalid> wrote:
>Define method __gt__.

This works, thanks.  I was a little surprised though. is __cmp__ used 
by any builtin functions?

Thanks,
THN




More information about the Python-list mailing list