原文链接:https://www.linuxexam.net/2020/04/python3-mro-and-super.html
1 MRO vs DFLR
Attribute searching is the core concept for Python classes. The searching order is important as it determines which class's attributes are used ( the one first searched is used ).
1.1 DFLR is used for Python2's classic classes
In Python2's classic classes, the searching method is called DFLR ( Depth First, Left to Right ). Let's take an example to make it easier to understand.
Classes B and C inherit from A, while class D inherits from B and C.