(self, group, *, file=None)
return resp, lines
Process an XGTITLE command (optional server extension) Arguments:
        - group: group name wildcard (i.e. news.*)
        Returns:
        - resp: server response if successful
        - list: list of (name,title) strings
Process an XGTITLE command (optional server extension) Arguments:
        - group: group name wildcard (i.e. news.*)
        Returns:
        - resp: server response if successful
        - list: list of (name,title) strings
Process an XGTITLE command ( optional server extension ) Arguments : - group : group name wildcard ( i . e . news . * ) Returns : - resp : server response if successful - list : list of ( name title ) strings
def xgtitle(self, group, *, file=None):
        """Process an XGTITLE command (optional server extension) Arguments:
        - group: group name wildcard (i.e. news.*)
        Returns:
        - resp: server response if successful
        - list: list of (name,title) strings"""
        warnings.warn("The XGTITLE extension is not actively used, "
                      "use descriptions() instead",
                      PendingDeprecationWarning, 2)
        line_pat = re.compile('^([^ \t]+)[ \t]+(.*)$')
        resp, raw_lines = self._longcmdstring('XGTITLE ' + group, file)
        lines = []
        for raw_line in raw_lines:
            match = line_pat.search(raw_line.strip())
            if match:
                lines.append(match.group(1, 2))
        return resp, lines
def xgtitle ( self , group , * , file = None ) : warnings . warn ( "The XGTITLE extension is not actively used, " "use descriptions() instead" , PendingDeprecationWarning , 2 ) line_pat = re . compile ( '^([^ \t]+)[ \t]+(.*)$' ) resp , raw_lines = self . _longcmdstring ( 'XGTITLE ' + group , file ) lines = [ ] for raw_line in raw_lines : match = line_pat . search ( raw_line . strip ( ) ) if match : lines . append ( match . group ( 1 , 2 ) ) return resp , lines