MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / r_exec

Method r_exec

Lib/rexec.py:307–316  ·  view source on GitHub ↗

Execute code within a restricted environment. The code parameter must either be a string containing one or more lines of Python code, or a compiled code object, which will be executed in the restricted environment's __main__ module.

(self, code)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_testFunction · 0.95
recalcMethod · 0.80

Calls 1

add_moduleMethod · 0.95

Tested by

no test coverage detected