Home | Trees | Indices | Help |
|
---|
|
API documentation information about a single Python value.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|||
Value Representation | |||
---|---|---|---|
ColorizedPyvalRepr |
|
||
ColorizedPyvalRepr |
|
|
|||
Value Representation | |||
---|---|---|---|
REPR_MAXLINES = 5 The maximum number of lines of text that should be generated by pyval_repr(). |
|||
REPR_LINELEN = 75 The maximum number of characters for lines of text that should be generated by pyval_repr(). |
|||
SUMMARY_REPR_LINELEN = 75 The maximum number of characters for the single-line text representation generated by summary_pyval_repr(). |
|||
REPR_MIN_SCORE = 0 The minimum score that a value representation based on pyval should have in order to be used instead of parse_repr as the canonical representation for this ValueDoc 's value.
|
|
|||
DottedName |
canonical_name = _Sentinel('UNKNOWN') A dotted name that serves as a unique identifier for this ValueDoc 's value.
|
||
toktree = _Sentinel('UNKNOWN') This is currently used to extract values from __all__, etc, in the docparser module; maybe I should specialize process_assignment and extract it there? Although, for __all__, it's not clear where I'd put the value, since I just use it to set private/public/imported attribs on other vars (that might not exist yet at the time.) |
|||
Value Representation | |||
---|---|---|---|
Python object |
pyval = _Sentinel('UNKNOWN') A pointer to the actual Python object described by this ValueDoc .
|
||
unicode
|
parse_repr = _Sentinel('UNKNOWN') A text representation of this value, extracted from parsing its source code. |
||
Context | |||
ModuleDoc |
defining_module = _Sentinel('UNKNOWN') The documentation for the module that defines this value. |
||
Information about Imported Variables | |||
DottedName |
proxy_for = None If proxy_for is not None, then this value was imported
from another file.
|
||
Docstrings | |||
Inherited from |
|||
Information Extracted from Docstrings | |||
Inherited from |
|||
Source Information | |||
Inherited from |
|
|
State serializer for the pickle module. This is necessary because
sometimes the |
Return a formatted representation of the Python object described by
this
|
Return a single-line formatted representation of the Python object
described by this
|
Return a list of all Keyword argument
|
|
REPR_MAXLINESThe maximum number of lines of text that should be generated by pyval_repr(). If the string representation does not fit in this number of lines, an ellpsis marker (...) will be placed at the end of the formatted representation.
|
REPR_LINELENThe maximum number of characters for lines of text that should be generated by pyval_repr(). Any lines that exceed this number of characters will be line-wrappped; The symbol will be used to indicate that the line was wrapped.
|
SUMMARY_REPR_LINELENThe maximum number of characters for the single-line text representation generated by summary_pyval_repr(). If the value's representation does not fit in this number of characters, an ellipsis marker (...) will be placed at the end of the formatted representation.
|
REPR_MIN_SCOREThe minimum score that a value representation based on pyval should have in order to be used instead of parse_repr as the canonical representation for thisValueDoc 's value.
See Also: epydoc.markup.pyval_repr
|
|
canonical_nameA dotted name that serves as a unique identifier for thisValueDoc 's value. If the value can be reached using a
single sequence of identifiers (given the appropriate imports), then that
sequence of identifiers is used as its canonical name. If the value can
be reached by multiple sequences of identifiers (i.e., if it has multiple
aliases), then one of those sequences of identifiers is used. If the
value cannot be reached by any sequence of identifiers (e.g., if it was
used as a base class but then its variable was deleted), then its
canonical name will start with '??' . If necessary, a dash
followed by a number will be appended to the end of a non-reachable
identifier to make its canonical name unique.
When possible, canonical names are chosen when new
|
pyvalA pointer to the actual Python object described by thisValueDoc . This is used to display the value (e.g., when
describing a variable.) Use pyval_repr() to generate a plaintext string
representation of this value.
|
parse_reprA text representation of this value, extracted from parsing its source code. This representation may not accurately reflect the actual value (e.g., if the value was modified after the initial assignment).
|
defining_moduleThe documentation for the module that defines this value. This is used, e.g., to lookup the appropriate markup language for docstrings. For aModuleDoc , defining_module should be
self .
|
proxy_forIfproxy_for is not None, then this value was imported from
another file. proxy_for is the dotted name of the variable
that this value was imported from. If that variable is documented, then
its value may contain more complete API documentation about
this value. The proxy_for attribute is used by the source
code parser to link imported values to their source values (in
particular, for base classes). When possible, these proxy
ValueDoc s are replaced by the imported value's
ValueDoc by link_imports().
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 13 23:51:05 2008 | http://epydoc.sourceforge.net |