Getting the class of a method in Python 2.2 (semantic change from 2.1)

Martin von Loewis loewis at informatik.hu-berlin.de
Thu Nov 22 07:05:35 EST 2001


kalipygian at hotmail.com (Kali Kim) writes:

> In order to analyze class relationships and informations (something
> like pydoc) dynamically, for example, in a class browser or code
> analyzer.

To find out what methods a class has, you should look at its __dict__;
that should be portable across versions.

Regards,
Martin



More information about the Python-list mailing list