Home | Trees | Index | Help |
|
---|
|
|
|||
all_args(self) | |||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|||
Signature | |||
---|---|---|---|
posargs | The names of the routine's positional arguments. | ||
posarg_defaults | API documentation for the positional arguments' default values. | ||
vararg | The name of the routine's vararg argument, or None if
it has no vararg argument. |
||
kwarg | The name of the routine's keyword argument, or None
if it has no keyword argument. |
||
lineno | The line number of the first line of the function's signature. | ||
Information Extracted from Docstrings | |||
arg_descrs | A list of descriptions of the routine's arguments. | ||
arg_types | Descriptions of the expected types for the routine's arguments, encoded as a dictionary mapping from argument names to type descriptions. | ||
return_descr | A description of the value returned by this routine. | ||
return_type | A description of expected type for the value returned by this routine. | ||
exception_descrs | A list of descriptions of exceptions that the routine might raise. | ||
Inherited from |
|||
Value Representation | |||
Inherited from |
|||
Context | |||
Inherited from |
|||
Information about Imported Variables | |||
Docstrings | |||
Inherited from |
|||
Source Information | |||
Inherited from |
|
|
|
posargsThe names of the routine's positional arguments. If an argument list contains "unpacking" arguments, then their names will be specified using nested lists. E.g., if a function's argument list is((x1,y1), (x2,y2)) , then posargs will be [['x1','y1'],
['x2','y2']] .
|
posarg_defaultsAPI documentation for the positional arguments' default values. This list has the same length asposargs , and each element of
posarg_defaults describes the corresponding argument in
posargs . For positional arguments with no default,
posargs_defaults will contain None.
|
varargThe name of the routine's vararg argument, orNone if it
has no vararg argument.
|
kwargThe name of the routine's keyword argument, orNone if it
has no keyword argument.
|
linenoThe line number of the first line of the function's signature. For Python functions, this is equal tofunc.func_code.co_firstlineno . The first line of a file is
considered line 1.
|
arg_descrsA list of descriptions of the routine's arguments. Each element of this list is a tuple(arg, descr) , where arg is
an argument name (or a tuple of of argument names); and
descr is a ParsedDocstring describing the argument(s) specified by
arg .
|
arg_typesDescriptions of the expected types for the routine's arguments, encoded as a dictionary mapping from argument names to type descriptions.
|
return_descrA description of the value returned by this routine.
|
return_typeA description of expected type for the value returned by this routine.
|
exception_descrsA list of descriptions of exceptions that the routine might raise. Each element of this list is a tuple(exc, descr) , where
exc is a string contianing the exception name; and
descr is a ParsedDocstring describing the circumstances under which
the exception specified by exc is raised.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 3.0alpha2 on Tue Apr 11 17:33:26 2006 | http://epydoc.sf.net |