30.7.1 Class Descriptor Objects

The class descriptor objects used as values in the dictionary returned by readmodule() and readmodule_ex() provide the following data members:

The name of the module defining the class described by the class descriptor.

The name of the class.

A list of class descriptors which describe the immediate base classes of the class being described. Classes which are named as superclasses but which are not discoverable by readmodule() are listed as a string with the class name instead of class descriptors.

A dictionary mapping method names to line numbers.

Name of the file containing the class statement defining the class.

The line number of the class statement within the file named by file.

See About this document... for information on suggesting changes.