(cls, section_options, values_parser=None)
return value
Parses section options into a dictionary.

        Optionally applies a given parser to values.

        :param dict section_options:
        :param callable values_parser:
        :rtype: dict
Parses section options into a dictionary.
Parses section options into a dictionary .
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
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