API of RestrictedPython 4.0ΒΆ

compile_restricted(source, filename, mode [, flags [, dont_inherit]])
compile_restricted_exec(source, filename, mode [, flags [, dont_inherit [, policy]]])
compile_restricted_eval(source, filename, mode [, flags [, dont_inherit [, policy]]])
compile_restricted_single(source, filename, mode [, flags [, dont_inherit [, policy]]])
compile_restricted_function(source, filename, mode [, flags [, dont_inherit [, policy]]])