On 06/02/12 16:12, Tonu Mikk wrote:
Alan, thanks for explaining about passing objects to classes.  This is
an important concept for me to understand.

I tried running the code, but run into an error that I could not resolve:

TypeError: doIt() takes no arguments (1 given).

Sorry the code was only meant for illustration and had not nbeen tested.
I forgot the self in the definition of doit()... And probably other stuff too!

Alan G.

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

Reply via email to