| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
tuple --+
|
object --+ |
| |
_Named --+
|
_NamedTuple
(INTERNAL) Base for named tuples with both index
and attribute name access to the items.
Note:
This class is similar to Python's namedtuple, but
statically defined, lighter and limited.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
| Static Methods | |||
| a new object with type S, a subtype of T |
|
||
| Class Variables | |
_Names_ = Tuple specifying the name of each
Named-Tuple item.
|
|
_Units_ = Tuple defining the units of the value of each
Named-Tuple item.
|
|
| Properties | |
|
iteration Get the iteration number ( int) or None if
not available/applicable.
|
|
|
Inherited from Inherited from |
|
| Method Details |
Delete an attribute by
Note: Items can not be deleted. |
Get the value of an item by
|
New _NamedTuple initialized with
|
Default
|
Set attribute or item
|
Default
|
Duplicate this tuple replacing one or more items.
|
Yield the items, each as a See Also:
Method |
Yield the items, each as a See Also:
Method |
Yield the items, each as a
See Also:
Method |
Return this
|
Return this
|
Return a copy of this |
Yield the items, each as a
See Also:
Method |
| Class Variable Details |
_Names_Tuple specifying the Note: Specify at least 2 item names.
|
_Units_Tuple defining the Note:
The
|
| Property Details |
iterationGet the iteration number (
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Jan 5 13:05:37 2022 | http://epydoc.sourceforge.net |