parameters: (self, group, date, *, file=None)
return_statement: return self._longcmdstring(cmd, file)
docstring: 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
docstring_summary: 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
docstring_tokens: 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
function: 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)
function_tokens: 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 )