diff --git a/README.md b/README.md index 14dbf94..57c5814 100644 --- a/README.md +++ b/README.md @@ -818,6 +818,19 @@ class Employee(Person): >>> Employee.mro() [, , ] ``` +* **MRO or Method Resolution Order determines the order in which parent classes are traversed when searching for a method.** + +### Multiple Inheritance +```python +class A: pass +class B: pass +class C(A, B): pass +``` + +```python +>>> C.mro() +[, , , ] +``` ### Comparable * **If eq() method is not overridden, it returns `'id(self) == id(other)'`, which is the same as `'self is other'`.**