class Base(object):
def __init__(self):
print ("Base")
class childA(Base):
def __init__(self):
print ('Child A')
Base.__init__(self)
class childB(Base,childA):
def __init__(self):
print ('Child B')
super(childB, self).__init__()
b=childB()
Inheritance would go as childB, Base, childA, Base and after applying MRO, it should become childB,childA,Base. But its throwing MRO error. why?