Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class Parent:
    def __init__(self):
        print('Parent.__init__()')


class Child(Parent):
    def __init__(self):
        print('a')
        super(Parent, self).__init__()
        print('b')
        super().__init__()
        print('c')
        print('Child.__init__()')

Child()