def r_eval(self, code):
        m = self.add_module('__main__')
        return eval(code, m.__dict__)
Evaluate code within a restricted environment.
dataset/ETHPy150Open ctxis/canape/CANAPE.Scripting/Lib/rexec.py/RExec.r_eval