Can pdb print from which base class did the derived class inherit a particular method from?
import pdb
class A():
def funct(self):
print 3
class B():
def funct(self):
print 6
class C(A, B):
pass
b = B();
print b.funct()
===================================
☺ python a.py
3
None
======================================
python -m pdb a.py
(Pdb) p c.funct
<bound method C.funct of <__main__.C instance at 0x102154440>>
Is there a way to get from which base class, the derived class C inherited the funct method?