def get_attr(self):
    print(('Parent attribute:', self.static_attr))


class Child(Parent):

    def __init__(self):
        print('Calling child constructor')
super().__init__()

def method_b(self):
    print('Calling child method')
if __name__ == '__main__':
    main()
order of calling constructors in Python