Traversing Inheritance Model

digitalorganics at gmail.com digitalorganics at gmail.com
Tue Jun 27 05:47:56 CEST 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