>  You can pass a cmp-function that will always make one object being greater
>  than all others.
>
>  Diez
>  --

Yeah, I figured it out 2 minutes after I posted, d'oh!

class Anvil(object):
    def __cmp__(self. other):
        return 1

Sorry for the wasted space.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to