def __init__(self, factor, derivation, offset=0.0): warnings.warn( "Using the OffsetUnit class is not recommended as its offset" " attribute is now available on the more general parent " "class: scimath.units.unit.unit.") unit.__init__(self, factor, derivation) self.offset = offset
def __init__(self, factor, derivation, offset=0.0): warnings.warn("Using the OffsetUnit class is not recommended as its offset" " attribute is now available on the more general parent " "class: scimath.units.unit.unit.") unit.__init__(self, factor, derivation) self.offset = offset
def __init__(self, factor, derivation, offset=0.0): unit.__init__(self, factor, derivation) self.offset = offset
def __init__(self,factor,derivation,offset=0.0): unit.__init__(self,factor,derivation) self.offset = offset