Python language

MRO / C3 linearisation

The algorithm deciding attribute lookup order across multiple inheritance.

Why interviewers ask about it

It guarantees a class precedes its parents and preserves base order. When no consistent order exists Python refuses to create the class - that is the 'cannot create a consistent MRO' error.

This term is part of the free Python Full-Stack interview preparation module - browse the full glossary for every definition.