def __eq__(self, other):
    return (isinstance(other, Uniroot) and (other.argname == self.argname) and (other.function == self.function) and (other.min == self.min) and (other.max == self.max))
def __eq__(self, other):
    return (isinstance(other, Uniroot) and (other.argname == self.argname) and (other.function == self.function) and (other.min == self.min) and (other.max == self.max))