Python Multiple inheritance
===

I have 3 classes A,B and D as given below

class A(object):
    def test(self):
        print "called A"
class B(object):
    def test(self):
        print "called B"
    pass

class D(A,B):
    def test(self):
        super(A,self).test()
        pass
inst_d=D()
inst_d.test()

----------------------------------------
Output:
  called B


Question : In class D in test method I am calling super(A,self).test() and class A having  test method also ,but output I am getting "called B" (class B's test method is invoking) .Why "called A" is not printing?. 

Thanks,
  Anoop
 





