Skip to content

MRO in Python

Inheritance in Python

What is MRO?

Why is this useful?

The diamond problem

C3 Linearization

Monotonicity

Definition and notation

Computing merge

Properties of merge

Compute the linearization

C3 computing example