All functions from self and inherited classes

Christer Østergaard winterdk at
Wed Jun 13 04:45:04 EDT 2001

"Skip Montanaro" <skip at> wrote in message
news:mailman.992379799.20401.python-list at
>     >> And a dir(self.__class__) returns methods, but only methods defined
>     >> in B.
>     Alex> Someone posted this code here ages ago.... [snipped]
> The (new) standard module inspect has a getmembers function (output
> for readability):

> Skip Montanaro (skip at
> (847)971-7098

Very interesting... i'm currently working v. 2.0, and no module "inspect"
seems to be part of my pakage... do you know if there any possibility of me
fetching the module, and thereby not being forced to upgrade the full monty?


More information about the Python-list mailing list