post init call

2012-06-18 Thread Prashant
class Shape(object): def __init__(self, shapename): self.shapename = shapename def update(self): print update class ColoredShape(Shape): def __init__(self, color): Shape.__init__(self, color) self.color = color print 1

Re: post init call

2012-06-18 Thread Ulrich Eckhardt
Am 18.06.2012 09:10, schrieb Prashant: class Shape(object): def __init__(self, shapename): self.shapename = shapename def update(self): print update class ColoredShape(Shape): def __init__(self, color): Shape.__init__(self, color)

Re: post init call

2012-06-18 Thread Thomas Rachel
Am 18.06.2012 09:10 schrieb Prashant: class Shape(object): def __init__(self, shapename): self.shapename = shapename def update(self): print update class ColoredShape(Shape): def __init__(self, color): Shape.__init__(self, color) self.color =

Re: post init call

2012-06-18 Thread Peter Otten
Prashant wrote: class Shape(object): def __init__(self, shapename): self.shapename = shapename def update(self): print update class ColoredShape(Shape): def __init__(self, color): Shape.__init__(self, color) self.color =