pyclbr class objects





17.7.1 Class Descriptor Objects
















Python Library Reference




Previous: 17.7 pyclbr
Up: 17.7 pyclbr
Next: 17.8 py_compile





17.7.1 Class Descriptor Objects



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


module

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



name

The name of the class.



super

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.



methods

A dictionary mapping method names to line numbers.



file

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



lineno

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







Python Library Reference




Previous: 17.7 pyclbr
Up: 17.7 pyclbr
Next: 17.8 py_compile



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





Wyszukiwarka

Podobne podstrony:
Thrilling Tales Advanced Class Man of Mystery
stream writer objects
ObjectImpl
function hwapi object remove
110 Amazing Magic Tricks With Everyday Objects
function pg fetch object
Object
subject object questions
w97 class poppy
Mazatrol Fusion Conversational Programming Class for 640MT & MT Pro For Integrex Outline
function class exists
Thrilling Tales Advanced Class Rocket Ranger

więcej podobnych podstron