def METHOD_NAME(self, section=None):
    section = section if section is not None else Settings.DEFAULT_SECTION
    result = {"section": section}
    try:
        if section in self._global_settings.sections():
            for option in self._global_settings.options(section):
                result[option] = self._global_settings.get(section, option)
        if section in self._local_settings.sections():
            for option in self._local_settings.options(section):
                result[option] = self._local_settings.get(section, option)
    except configparser.InterpolationSyntaxError:
        core.termwarn("Unable to parse settings file")
    return result