Sean Perry wrote:
yep. call 'Parent.__init__(this, that)' then do 'self.new = new'
def __init__(self, this, that, new): Parent.__init__(this, that) self.new = new
Thanks.
Though it should be: def __init__(self, this, that, new): Parent.__init__(self, this, that) #note self self.new = new
been doing a bunch of C++ programming. C++ -> python I always forget about self. python -> c++ I always forget the semicolons (-:
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor