En Tue, 23 Oct 2007 18:10:04 -0300, mrstephengross <[EMAIL PROTECTED]> escribió:
> Let's say I have a python file with a base class, and a few derived > classes: > > class Base: > pass > > class Derived1(Base): > pass > > class Derived2(Base): > pass > > Is there a way I can find out the classes that have been derived from > Base? If Base were a new-style class, you could use Base.__subclasses__() -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list