Home | Trees | Indices | Help |
|
---|
|
API documentation information about a single routine.
|
|||
bool
|
|
||
|
|||
Inherited from Inherited from Inherited from |
|||
Value Representation | |||
---|---|---|---|
Inherited from |
|
|||
Value Representation | |||
---|---|---|---|
Inherited from |
|
|||
str
|
callgraph_uid = None DotGraph.uid of the call graph for the function. |
||
Inherited from |
|||
Signature | |||
---|---|---|---|
list
|
posargs = _Sentinel('UNKNOWN') The names of the routine's positional arguments. |
||
list of ValueDoc or None
|
posarg_defaults = _Sentinel('UNKNOWN') API documentation for the positional arguments' default values. |
||
string or None
|
vararg = _Sentinel('UNKNOWN') The name of the routine's vararg argument, or None if it
has no vararg argument.
|
||
string or None
|
kwarg = _Sentinel('UNKNOWN') The name of the routine's keyword argument, or None if
it has no keyword argument.
|
||
int
|
lineno = _Sentinel('UNKNOWN') The line number of the first line of the function's signature. |
||
Decorators | |||
list of string
|
decorators = _Sentinel('UNKNOWN') A list of names of decorators that were applied to this routine, in the order that they are listed in the source code. |
||
Information Extracted from Docstrings | |||
list
|
arg_descrs = _Sentinel('UNKNOWN') A list of descriptions of the routine's arguments. |
||
dict from string to ParsedDocstring
|
arg_types = _Sentinel('UNKNOWN') Descriptions of the expected types for the routine's arguments, encoded as a dictionary mapping from argument names to type descriptions. |
||
ParsedDocstring |
return_descr = _Sentinel('UNKNOWN') A description of the value returned by this routine. |
||
ParsedDocstring |
return_type = _Sentinel('UNKNOWN') A description of expected type for the value returned by this routine. |
||
list
|
exception_descrs = _Sentinel('UNKNOWN') 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 |
|
Does this object deserve a box with extra details?
|
|
|
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.
|
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.
|
decoratorsA list of names of decorators that were applied to this routine, in the order that they are listed in the source code. (I.e., in the reverse of the order that they were applied in.)
|
arg_descrsA list of descriptions of the routine's arguments. Each element of this list is a tuple(args, descr) , where args is a
list of argument names; and descr is a ParsedDocstring describing the argument(s) specified by
arg .
|
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 | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 13 23:51:01 2008 | http://epydoc.sourceforge.net |