(self, id)
Process an XPATH command (optional server extension) Arguments:
        - id: Message id of article
        Returns:
        resp: server response if successful
        path: directory path to article
Process an XPATH command (optional server extension) Arguments:
        - id: Message id of article
        Returns:
        resp: server response if successful
        path: directory path to article
Process an XPATH command ( optional server extension ) Arguments : - id : Message id of article Returns : resp : server response if successful path : directory path to article
def xpath(self, id):
        """Process an XPATH command (optional server extension) Arguments:
        - id: Message id of article
        Returns:
        resp: server response if successful
        path: directory path to article
        """
        warnings.warn("The XPATH extension is not actively used",
                      PendingDeprecationWarning, 2)

        resp = self._shortcmd('XPATH {0}'.format(id))
        if not resp.startswith('223'):
            raise NNTPReplyError(resp)
        try:
            [resp_num, path] = resp.split()
        except ValueError:
            raise NNTPReplyError(resp)
        else:
            return resp, path
def xpath ( self , id ) : warnings . warn ( "The XPATH extension is not actively used" , PendingDeprecationWarning , 2 ) resp = self . _shortcmd ( 'XPATH {0}' . format ( id ) ) if not resp . startswith ( '223' ) : raise NNTPReplyError ( resp ) try : [ resp_num , path ] = resp . split ( ) except ValueError : raise NNTPReplyError ( resp ) else : return resp , path