Traversing Inheritance Model
digitalorganics at gmail.com
digitalorganics at gmail.com
Mon Jun 26 23:47:56 EDT 2006
What's the best way to traverse the web of inheritance? I want to take
a class and traverse its bases and then the bases' bases etc....
looking for a particular class. What first came to mind was nested for
loops. However, I want to know if there's some pre-existing method for
doing this or if this isn't even possible (might send me in circles
perhaps?).Thanks all.
More information about the Python-list
mailing list