Thomas Nelson schrieb: > 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? It is used by max() if the object doesn't implement __gt__. Regards, Martin