MCPcopy Index your code
hub / github.com/python/cpython / create_ns

Method create_ns

Lib/test/test_runpy.py:163–164  ·  view source on GitHub ↗
(init_globals)

Source from the content-addressed store, hash-verified

161 "__loader__": None,
162 })
163 def create_ns(init_globals):
164 return _run_code(example_source, {}, init_globals)
165 self.check_code_execution(create_ns, expected_ns)
166
167 def test_run_module_code(self):

Callers

nothing calls this directly

Calls 2

_run_codeFunction · 0.90
_run_module_codeFunction · 0.90

Tested by

no test coverage detected