# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details.
def __repr__(self): return "Infinity"
return hash(repr(self))
return False
return False
return isinstance(other, self.__class__)
return not isinstance(other, self.__class__)
return True
return True
def __repr__(self): return "-Infinity"
return hash(repr(self))
return True
return True
return isinstance(other, self.__class__)
return not isinstance(other, self.__class__)
return False
return False
return Infinity
|