def execDefinesFunctionToLocalsExplicity():
    exec """\
def makeAddPair(a, b):
    def addPair(c, d):
        return (a + c, b + d)
    return addPair
""" in locals()

    if sys.version_info < (3,):
        assert makeAddPair  # @UndefinedVariable

    return "yes"
dataset/ETHPy150Open kayhayen/Nuitka/tests/basics/ExecEval.py/execDefinesFunctionToLocalsExplicity/original