mpacts.core. unit

In order to be able to use this module import it like this:

import mpacts.core.unit
#or assign it to a shorter name
import mpacts.core.unit as uni

Unit

class mpacts.core.unit.Unit((object)arg1) → None

Bases: Boost.Python.instance

The built-in unit from mpacts.

Unit(name, parent, **kwargs)
toString((Unit)arg1) → str :

converts the unit to a string