The Role of super() in Multiple Inheritance
摘要
In the previous chapter, we gave a brief introduction to the C3 linearization algorithm. You can calculate it manually or use the built-in .mro() method on a class to inspect its Method Resolution Order (MRO). In this chapter, we’ll follow the trail of the .mro() method and see how this algorithm is implemented in CPython.