class Class2(object):

    def method(self, theA, params):
        theA.methB(params)


class Class3(object):

    def method(self, theA, params):
        theA.methC(params)


class A(object):
    pass
Calling a method on class A depending on type of parameter