def get_option(parser_func, section, option, default=None):
    if PY2:
        try:
            return parser_func(section, option)
        except (configparser.NoSectionError, configparser.NoOptionError):
            return default
    else:
        return parser_func(section, option, fallback=default)
Get config value from the given
dataset/ETHPy150Open timofurrer/try/trypackage/config.py/get_option