def __new__(cls, value="0", context=None):
        if isinstance(value, basestring) or value.endswith('%'):
            self = Decimal.__new__(
                Percentage, old_div(Decimal(value[:-1]), 100), context)
            self._value = value
            return self
        #~ raise Exception("Invalid Percentage %r" % value)
        return cls.__new__(Quantity, value, context)
dataset/ETHPy150Open lsaffre/lino/lino/utils/quantities.py/Percentage.__new__/operator `and` -> `or`