how to call constructor of parent class in python code example
Example 1: how to get the parent class using super python
class Foo(Bar):
def __init__(self, *args, **kwargs):
# invoke Bar.__init__
super().__init__(*args, **kwargs)
Example 2: python3 call parent constructor
super(Instructor, self).__init__(name, year)