so I modify blindly class l1 and define another class l2 as below:
class l1(l0):
def say(self):
self.__class__.__bases__[0].say(self)
print 'layer1' ^^^^^
class l2(l1):
def say(self):
self.__class__.__bases__[0].say(self)
print 'layer2'
>>>i1=l1()
>>>i2=l2()
>>i1.say()
this is layer0
layer1 it works
but calling i2.say() brings 'program terminate because error -xxx has occorred' (I am using a mac) and get me back to the OS.
somebody explain reason why?
a million thanks