Home | Trees | Indices | Help |
|
---|
|
object --+ | _Node --+ | UnitNode
a terminal node containing a unit, possibly with a prefix
This is normally constructed through the fromToks constructor.
Check out the unit, prefix, and isUnknown attributes. The prefix can be turned to a factor using the PREFIXES dictionary. An empty prefix (factor 1) is represented by an empty string.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Methods | |||
|
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
str(x)
|
repr(x)
|
returns a pair of factor and basic unit. Basic units are what's in the defining pairs in the PLAIN_UNITS dict. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |