Given a class Foo (whether it is a new-style class or not), how do you generate all the base classes - anywhere in the inheritance hierarchy - it issubclass of?
Join Stack Overflow to learn, share knowledge, and build your career.
|
|
||||
|
|
|||||||||||||
|
|
See the
|
|||||||||
|
|
|
|||||
|
|
you can use the
The tuple returned by Hope it helps! |
||||
|
|
typewould be the better term)isinstancewon't work ... either you meanissubclassor you want to take a instance ;-p – Jochen Ritzel Sep 9 '09 at 20:21