how to use class methods?

Emile van Sebille emile at
Fri Sep 22 11:54:19 CEST 2000

Take a look at __bases__ as in :

>>> class E(C,D):

 >>> E.__bases__
(<class __console__.C at 00B2D27C>, <class __console__.D at



Emile van Sebille
emile at

"Mike 'Cat' Perkonigg" <blablu at> wrote in message
news:8FB776878mikecat at
> Hi!
> How can I create a class method?
> I want to get a list of all classes a class is inherited
from (up to the root
> class) but without creating instances of this classes.
> Regards,
> Mike

More information about the Python-list mailing list