Method Resolution OrderMethod Resolution Order

Method Resolution Order is an order of searching the attributes/methods from Parent classes.

To check this order, you can use the mro() built-in method:

The mro() method returns a list of classes that represents the method and attribute search order.


The mro() method can be called via classes, not for instances.


Pay attention: all objects in Python are inherited from the object class.

Everything was clear?

Section 2. Chapter 4