[Tutor] removing a card

John Fouhy john at fouhy.net
Thu Jul 20 00:28:00 CEST 2006


On 20/07/06, Christopher Spears <cspears2002 at yahoo.com> wrote:
>        def __cmp__(self):
[...]
> I am confused by this error because I modified __cmp__
> in the Card class to take two arguments.  Am I missing
> something here?

You haven't defined it that way in the code you posted..

I presume you meant to type:

    def __cmp__(self, other)

?

-- 
John.


More information about the Tutor mailing list