def format_value(value, vars):
    def _replacer(matchobj):
        name = matchobj.group(1)
        if vars in name:
            return vars[name]
        return matchobj.group(0)
    return _VAR_REPL.sub(_replacer, value)
dataset/ETHPy150Open GeekTrainer/Flask/Work/Trivia - Module 5/env/Lib/site-packages/pip/_vendor/distlib/_backport/sysconfig.py/format_value/swapped operands of `in`