parameters: (cls, section_options, values_parser=None)
return_statement: return value
docstring: Parses section options into a dictionary.
  
          Optionally applies a given parser to values.
  
          :param dict section_options:
          :param callable values_parser:
          :rtype: dict
docstring_summary: Parses section options into a dictionary.
docstring_tokens: Parses section options into a dictionary .
function: def _parse_section_to_dict(cls, section_options, values_parser=None):
          """Parses section options into a dictionary.
  
          Optionally applies a given parser to values.
  
          :param dict section_options:
          :param callable values_parser:
          :rtype: dict
          """
          value = {}
          values_parser = values_parser or (lambda val: val)
          for key, (_, val) in section_options.items():
              value[key] = values_parser(val)
          return value
function_tokens: def _parse_section_to_dict ( cls , section_options , values_parser = None ) : value = { } values_parser = values_parser or ( lambda val : val ) for key , ( _ , val ) in section_options . items ( ) : value [ key ] = values_parser ( val ) return value