Greg Nielsen wrote:

    if isinstance(car, redracersprites26.BlueCarSprite()):
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and
types

Don't instantiate the class. Instead of

redracersprites26.BlueCarSprite()  # makes a new instance

just refer to the class object without calling it:

redracersprites26.BlueCarSprite


--
Steven
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to