a specific algorithm (called C3 linearization) that determines the order in which Python searches for methods. You can inspect it: