How to examine the inheritance of a class?

John Ladasky ladasky at my-deja.com
Fri Oct 24 05:53:03 CEST 2008


On Oct 23, 6:59 pm, "James Mills" <prolo... at shortcircuit.net.au>
wrote:

> Developer. NOT User.

For the foreseeable future, this program is for my use only.  So the
developer and the user are one and the same.

And, thank you, __bases__ is what I was looking for.  Though Chris
Mills also pointed out that isinstance() handles the type checking
nicely.



More information about the Python-list mailing list