[Tutor] Inheritance : what am I doing wrong?
alan.gauld@bt.com
alan.gauld@bt.com
Mon Dec 2 06:25:02 2002
> I don't understand why I couldn't use this syntax
> (name=parameter) with a constructor.
OK, I was obviously tired when I replied to you.
Obviously keyword parameters do work. What I thought was
happening was that you were getting confused with default
parameters, instead it was me getting confused. Sorry!
> However, I've found out that visual.sphere.__init__() cannot work
> properly as a constructor because, despite all appearances,
> visual.sphere is not a class!
I seem, to rememvber this coming out before. Never having used
the visual stuff that passed me by...
> Thanks for your help,
Hmm, not a lot helpful in my message!
Apologies again.
Alan g