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

Thanks again!
Ismael
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to