osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Class initialization with multiple inheritance


I am trying to find explicit documentation on the initialization logic for a
Base class when multiple exist. For the example in the documentation at
https://docs.python.org/3/tutorial/classes.html#multiple-inheritance,
if Base1 and Base2 both themselves inherited from the same base class,
only Base1 would call __init__ on the subclass, Base2 would not. While
I know this from experience, I need to locate actual documentation, does
Anyone know if it exists?

Thanks,
jlc