parameters: (self, group, file=None)
return_statement: return resp, lines
docstring: 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
docstring_summary: 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
docstring_tokens: 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
function: 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"""
  
          line_pat = re.compile("^([^ \t]+)[ \t]+(.*)$")
          resp, raw_lines = self.longcmd('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
function_tokens: def xgtitle ( self , group , file = None ) : line_pat = re . compile ( "^([^ \t]+)[ \t]+(.*)$" ) resp , raw_lines = self . longcmd ( '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