

def __eq__(self, other):
    if (type(other) == Chronyk):
        return (self.__timestamp__ == other.timestamp(timezone=0))
    if (type(other) in [int, float]):
        return (self.__timestamp__ == other)
    return NotImplemented

dataset/ETHPy150Open KoffeinFlummi/Chronyk/chronyk/chronyk.py Chronyk.__eq__/original