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)
> s
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 =
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__(se