Learn To Solve It
Demonstrating Inheritance in Python.
class A(object): def __init__(self): print("A is called.") class B(object): def __init__(self): print("B is called.") class C(A, B): def __init__(self): super(C, self).__init__() c = C()
See also
Suggest a Code Improvement:design_inheritance.py
Suggest a better explanation for design_inheritance.rst
previous
Partial function - Hextobin
next
Iterator - Dictionary