def __eq__(self, other):
        '''
        >>> LunarDate.today() == 5
        False
        '''
        if not isinstance(other, LunarDate):
            return False

        return self - other == datetime.timedelta(0)
def __eq__ ( self , other ) : if not isinstance ( other , LunarDate ) : return False return self - other == datetime . timedelta ( 0 )
>>> LunarDate.today() == 5
        False