method resolution order

The order in which Python searches a class and its parents for a method or attribute.

In more detail

MRO stands for method resolution order. For simple single inheritance it is the class, then its parent, then the grandparent, up to object. ClassName.__mro__ shows it.

Related terms

Taught in

References

Certification courses