class A(object):

    def __init__(self, a, b):
        print('Init {} with arguments {}'.format(self.__class__.__name__, (
            a, b)))


class B(object):

    def __init__(self, q):
        print('Init {} with arguments {}'.format(self.__class__.__name__, q))


class C(A, B):

    def __init__(self):
        A.__init__(self, 1, 2)
B.__init__(self, 3)
Multiple inheritance in python3 with different signatures