All functions from self and inherited classes
winterdk at hotmail.com
Wed Jun 13 04:45:04 EDT 2001
"Skip Montanaro" <skip at pobox.com> wrote in message
news:mailman.992379799.20401.python-list at python.org...
> >> 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 pobox.com)
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