Home | Trees | Indices | Help |
|
---|
|
API documentation information about a single Python variable.
Note:
The only time a VariableDoc
will have its own
docstring is if that variable was created using an assignment
statement, and that assignment statement had a docstring-comment or
was followed by a pseudo-docstring.
|
|||
|
|||
|
|||
|
|||
|
|||
bool
|
|
||
Inherited from Inherited from |
|
|||
Basic Variable Information | |||
---|---|---|---|
str
|
name = _Sentinel('UNKNOWN') The name of this variable in its containing namespace. |
||
ValueDoc |
container = _Sentinel('UNKNOWN') API documentation for the namespace that contains this variable. |
||
DottedName |
canonical_name = _Sentinel('UNKNOWN') A dotted name that serves as a unique identifier for this VariableDoc .
|
||
ValueDoc |
value = _Sentinel('UNKNOWN') The API documentation for this variable's value. |
||
Information Extracted from Docstrings | |||
ParsedDocstring |
type_descr = _Sentinel('UNKNOWN') A description of the variable's expected type, extracted from its docstring. |
||
Inherited from |
|||
Information about Imported Variables | |||
DottedName |
imported_from = _Sentinel('UNKNOWN') The fully qualified dotted name of the variable that this variable's value was imported from. |
||
bool
|
is_imported = _Sentinel('UNKNOWN') Was this variable's value imported from another module? (Exception: variables that are explicitly included in __all__ have is_imported set to False , even if they are
in fact imported.)
|
||
Information about Variables in Classes | |||
bool
|
is_instvar = _Sentinel('UNKNOWN') If true, then this variable is an instance variable; if false, then this variable is a class variable. |
||
VariableDoc |
overrides = _Sentinel('UNKNOWN') The API documentation for the variable that is overridden by this variable. |
||
Flags | |||
bool
|
is_alias = _Sentinel('UNKNOWN') Is this variable an alias for another variable with the same value? If so, then this variable will be dispreferred when assigning canonical names. |
||
bool
|
is_public = _Sentinel('UNKNOWN') Is this variable part of its container's public API? |
||
Docstrings | |||
Inherited from |
|||
Source Information | |||
Inherited from |
|
|||
defining_module A read-only property that can be used to get the variable's defining module. |
|
Construct a new
|
|
Return a list of all Keyword argument
|
Does this object deserve a box with extra details?
|
|
canonical_nameA dotted name that serves as a unique identifier for thisVariableDoc . It should be formed by concatenating the
VariableDoc 's container with its
name .
|
imported_fromThe fully qualified dotted name of the variable that this variable's value was imported from. This attribute should only be defined ifis_instvar is true.
|
is_instvarIf true, then this variable is an instance variable; if false, then this variable is a class variable. This attribute should only be defined if the containing namespace is a class
|
overridesThe API documentation for the variable that is overridden by this variable. This attribute should only be defined if the containing namespace is a class.
|
|
defining_moduleA read-only property that can be used to get the variable's defining module. This is defined as the defining module of the variable's container.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 13 23:51:07 2008 | http://epydoc.sourceforge.net |