MemotivaObject-oriented programming

What is multiple inheritance in Python?

Object-oriented programming

Audio flashcard · 0:16

Nortren·

What is multiple inheritance in Python?

0:16

Multiple inheritance is when a class inherits from more than one parent class. Python supports it directly. It allows a class to combine features from several sources but introduces complexity in method resolution. Python uses the C3 linearization algorithm to determine the order of method lookup.
docs.python.org