cls.mro()
method resolution oder
def super(cls, inst):
mro = inst.__class__.mro()
return mro[mro.index[cls] + 1]
cls.mro()
method resolution oder
def super(cls, inst):
mro = inst.__class__.mro()
return mro[mro.index[cls] + 1]