class_docstr: Handles metadata supplied in configuration files.
class_docstr_tok: ["Handles","metadata","supplied","in","configuration","files","."]
docstr: Parses section options into a dictionary.
  
  Optionally applies a given parser to values.
  
  :param dict section_options:
  :param callable values_parser:
  :rtype: dict
docstr_tok: ["Parses","section","options","into","a","dictionary",".","Optionally","applies","a","given","parser","to","values",".",":","param","dict","section_options",":",":","param","callable","values_parser",":",":","rtype",":","dict"]
code: 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
  
imports: from __future__ import absolute_import, unicode_literals
  import io
  import os
  import sys
  import warnings
  import functools
  from collections import defaultdict
  from functools import partial
  from functools import wraps
  from importlib import import_module
  from distutils.errors import DistutilsOptionError, DistutilsFileError
  from setuptools.extern.packaging.version import LegacyVersion, parse
  from setuptools.extern.packaging.specifiers import SpecifierSet
  from setuptools.extern.six import string_types, PY3
label_desc: Use image node_id 13 for calling the ConfigHandler obj's underlying member method code with example usage: obj._parse_section_to_dict(cls, section_options, values_parser) and returns: value