'In-place multiplication between `Quantity` objects and others.'

def __imul__(self, other):

    if isinstance(other, (UnitBase, six.string_types)):
        self._set_unit((other * self.unit))
        return self
    return super(Quantity, self).__imul__(other)
