parameters: (self, message_spec=None)
docstring: Process a STAT command.  Argument:
          - message_spec: article number or message id (if not specified,
            the current article is selected)
          Returns:
          - resp: server response if successful
          - art_num: the article number
          - message_id: the message id
docstring_summary: Process a STAT command.  Argument:
          - message_spec: article number or message id (if not specified,
            the current article is selected)
          Returns:
          - resp: server response if successful
          - art_num: the article number
          - message_id: the message id
docstring_tokens: Process a STAT command . Argument : - message_spec : article number or message id ( if not specified the current article is selected ) Returns : - resp : server response if successful - art_num : the article number - message_id : the message id
function: def stat(self, message_spec=None):
          """Process a STAT command.  Argument:
          - message_spec: article number or message id (if not specified,
            the current article is selected)
          Returns:
          - resp: server response if successful
          - art_num: the article number
          - message_id: the message id
          """
          if message_spec:
              return self._statcmd('STAT {0}'.format(message_spec))
          else:
              return self._statcmd('STAT')
function_tokens: def stat ( self , message_spec = None ) : if message_spec : return self . _statcmd ( 'STAT {0}' . format ( message_spec ) ) else : return self . _statcmd ( 'STAT' )