code: def ParseDesc(self, start_line=0):
      
      exec_mod_start = self.executable + ':'
  
      after_blank = 0
      start_line = 0             # ignore the passed-in arg for now (?)
      for start_line in range(start_line, len(self.output)): # collect top description
        line = self.output[start_line].rstrip()
        # Python flags start with 'flags:\n'
        if ('flags:' == line
            and len(self.output) > start_line+1
            and '' == self.output[start_line+1].rstrip()):
          start_line += 2
          logging.debug('Flags start (python): %s' % line)
          return (start_line, 'python')
        # SWIG flags just have the module name followed by colon.
        if exec_mod_start == line:
          logging.debug('Flags start (swig): %s' % line)
          return (start_line, 'python')
        # C++ flags begin after a blank line and with a constant string
        if after_blank and line.startswith('  Flags from '):
          logging.debug('Flags start (c): %s' % line)
          return (start_line, 'c')
        # java flags begin with a constant string
        if line == 'where flags are':
          logging.debug('Flags start (java): %s' % line)
          start_line += 2                        # skip "Standard flags:"
          return (start_line, 'java')
  
        logging.debug('Desc: %s' % line)
        self.desc.append(line)
        after_blank = (line == '')
      else:
        logging.warn('Never found the start of the flags section for "%s"!'
                     % self.long_name)
        return (-1, '')
docs: Parse the initial description.
  
      This could be Python or C++.
  
      Returns:
        (start_line, lang_type)
          start_line  Line to start parsing flags on (int)
          lang_type   Either 'python' or 'c'
         (-1, '')  if the flags start could not be found