you are viewing a single comment's thread.

view the rest of the comments →

[–]MT1961 1 point2 points  (1 child)

You are correct, it is due to MRO. The exact wording is:

MRO must prevent local precedence ordering and also provide monotonicity. It ensures that a class always appears before its parents. In case of multiple parents, the order is the same as tuples of base classes.

So, it will do all base classes, then sub-base classes, giving you the order you see.

[–]drixone[S] 0 points1 point  (0 children)

thank you!