Package park :: Package util :: Module configure :: Class Units

Class Units

source code


Retrieve value in specified units.
Instance Methods
 
__init__(self, units)
Units are the target units for the value.
source code
 
__call__(self, value)
Convert the given string 'val units' into a value in the target units.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, units)
(Constructor)

source code 
Units are the target units for the value.
Overrides: object.__init__