The text in mro.md shows the steps of computing the MRO of the class M from the following script, using the C3 linearization algorithm. For more info, see this paper explaining the method resolution order used by Python since version 2.3.
#!/usr/bin/env python
class X:
pass
class Y:
pass
class Z:
pass
class A(X):
pass
class B(Y, Z):
pass
class N:
pass
class M(B, A, Z, N):
pass
from pprint import pprint
pprint(M.mro())
It gives the following output.
[<class '__main__.M'>,
<class '__main__.B'>,
<class '__main__.Y'>,
<class '__main__.A'>,
<class '__main__.Z'>,
<class '__main__.X'>,
<class '__main__.N'>,
<class 'object'>]