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

Method s_import

Lib/rexec.py:462–475  ·  view source on GitHub ↗

Import a module, raising an ImportError exception if the module is considered unsafe. This method is implicitly called by code executing in the restricted environment. Overriding this method in a subclass is used to change the policies enforced by a restricted envir

(self, *args)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

s_applyMethod · 0.95

Tested by

no test coverage detected