parameters: (self, section, content)
return_statement: return out
docstring: .. index: default
             :refguide: something, else, and more
docstring_summary: .. index: default
             :refguide: something, else, and more
docstring_tokens: .. index : default : refguide : something else and more
function: def _parse_index(self, section, content):
          """
          .. index: default
             :refguide: something, else, and more
  
          """
          def strip_each_in(lst):
              return [s.strip() for s in lst]
  
          out = {}
          section = section.split('::')
          if len(section) > 1:
              out['default'] = strip_each_in(section[1].split(','))[0]
          for line in content:
              line = line.split(':')
              if len(line) > 2:
                  out[line[1]] = strip_each_in(line[2].split(','))
          return out
function_tokens: def _parse_index ( self , section , content ) : def strip_each_in ( lst ) : return [ s . strip ( ) for s in lst ] out = { } section = section . split ( '::' ) if len ( section ) > 1 : out [ 'default' ] = strip_each_in ( section [ 1 ] . split ( ',' ) ) [ 0 ] for line in content : line = line . split ( ':' ) if len ( line ) > 2 : out [ line [ 1 ] ] = strip_each_in ( line [ 2 ] . split ( ',' ) ) return out