(self, group, date, *, file=None)
return self._longcmdstring(cmd, file)
Process a NEWNEWS command.  Arguments:
        - group: group name or '*'
        - date: a date or datetime object
        Return:
        - resp: server response if successful
        - list: list of message ids
Process a NEWNEWS command.  Arguments:
        - group: group name or '*'
        - date: a date or datetime object
        Return:
        - resp: server response if successful
        - list: list of message ids
Process a NEWNEWS command . Arguments : - group : group name or * - date : a date or datetime object Return : - resp : server response if successful - list : list of message ids
def newnews(self, group, date, *, file=None):
        """Process a NEWNEWS command.  Arguments:
        - group: group name or '*'
        - date: a date or datetime object
        Return:
        - resp: server response if successful
        - list: list of message ids
        """
        if not isinstance(date, (datetime.date, datetime.date)):
            raise TypeError(
                "the date parameter must be a date or datetime object, "
                "not '{:40}'".format(date.__class__.__name__))
        date_str, time_str = _unparse_datetime(date, self.nntp_version < 2)
        cmd = 'NEWNEWS {0} {1} {2}'.format(group, date_str, time_str)
        return self._longcmdstring(cmd, file)
def newnews ( self , group , date , * , file = None ) : if not isinstance ( date , ( datetime . date , datetime . date ) ) : raise TypeError ( "the date parameter must be a date or datetime object, " "not '{:40}'" . format ( date . __class__ . __name__ ) ) date_str , time_str = _unparse_datetime ( date , self . nntp_version < 2 ) cmd = 'NEWNEWS {0} {1} {2}' . format ( group , date_str , time_str ) return self . _longcmdstring ( cmd , file )