class A_2(object):

    def __init__(self, *args, **kwargs):
        print('A_2 constructor')
super(A_2, self).__init__(*args, **kwargs)


class B(A_1, A_2):

    def __init__(self, *args, **kwargs):
        super(B, self).__init__(*args, **kwargs)
print('B constructor')

def main():
    b = B()
return 0
if __name__ == '__main__':
    main()
Mixins, multi-inheritance, constructors, and data