i have two functions with same name in two different classes. and both those classes are inherited into a third class. so in my third class i want to access the function of specific class. how do i do it..
class Base(object):
def display(self):
return "displaying from Base class"
class OtherBase(object):
def display(self):
return "displaying from Other Base class"
class Multi(Base, OtherBase):
def exhibit(self):
return self.display() # i want the display function of OtherBase
class Multi(OtherBase, Base)reverse the order of inheritance.minx = Multi()print minx.exhibit()