If I have Python code
class A(): pass class B(): pass class C(A, B): pass
and I have class C, is there a way to iterat
C
if you need to know to order in which super() would call the classes you can use C.__mro__ and don't need inspect therefore.
C.__mro__
inspect