GNU Info

Info Node: (python2.1-lib.info)Classes and functions

(python2.1-lib.info)Classes and functions


Next: interpreter stack Prev: Retrieving source code Up: inspect
Enter node , (file) or (file)node

Classes and functions
---------------------

`getclasstree(classes[, unique])'
     Arrange the given list of classes into a hierarchy of nested lists.
     Where a nested list appears, it contains classes derived from the
     class whose entry immediately precedes the list.  Each entry is a
     2-tuple containing a class and a tuple of its base classes.  If
     the UNIQUE argument is true, exactly one entry appears in the
     returned structure for each class in the given list.  Otherwise,
     classes using multiple inheritance and their descendants will
     appear multiple times.

`getargspec(func)'
     Get the names and default values of a function's arguments.  A
     tuple of four things is returned: `(ARGS, VARARGS, VARKW,
     DEFAULTS)'.  ARGS is a list of the argument names (it may contain
     nested lists).  VARARGS and VARKW are the names of the `*' and
     `**' arguments or `None'.  DEFAULTS is a tuple of default argument
     values; if this tuple has N elements, they correspond to the last
     N elements listed in ARGS.

`getargvalues(frame)'
     Get information about arguments passed into a particular frame.  A
     tuple of four things is returned: `(ARGS, VARARGS, VARKW, LOCALS)'.
     ARGS is a list of the argument names (it may contain nested lists).
     VARARGS and VARKW are the names of the `*' and `**' arguments or
     `None'.  LOCALS is the locals dictionary of the given frame.

`formatargspec(args[, varargs, varkw, defaults, argformat, varargsformat, varkwformat, defaultformat])'
     Format a pretty argument spec from the four values returned by
     `getargspec()'.  The other four arguments are the corresponding
     optional formatting functions that are called to turn names and
     values into strings.

`formatargvalues(args[, varargs, varkw, locals, argformat, varargsformat, varkwformat, valueformat])'
     Format a pretty argument spec from the four values returned by
     `getargvalues()'.  The other four arguments are the corresponding
     optional formatting functions that are called to turn names and
     values into strings.


automatically generated by info2www version 1.2.2.9