an example of diamond inheritance python allows class to be derived from multiple base classes in generalthe header of such derived class would look like class derived_classbase base base )body of the derived class the example shown on the next slide contains diamond hierarchy for illustrating multiple inheritance the class inherits from two parentsb and both those classes inherit from athus forming an example of diamond inheritance such hierarchies lead to following questionssuppose we invoke method on derived-class instance and the method is not defined directly in the derived classin what order will the base classes be searched for an implementation of the methodthe order in which the class and its bases are searched for the implementation code is commonly referred to as the method resolution order (mroin python purdue university