[TriZPUG] Getting inherited classes from interfaces
César Muñoz
xcumail at gmail.com
Wed Apr 21 16:36:31 CEST 2010
Hello,
I'm trying to get a list of the classes that inherit from an interface.
Something like:
class A(InterfaceA):
...
class B(InterfaceA):
...
>>> InterfaceA.getAllClasses()
[A, B]
I've tried using implementedBy and providedBy, as well as some other
functions from the API, but so far I've not been able to solve this issue.
Any ideas?
Cheers,
--
César
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/trizpug/attachments/20100421/f163cca5/attachment.html>
More information about the TriZPUG
mailing list