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

Method create_ns

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

Source from the content-addressed store, hash-verified

314 "module_in_sys_modules": True,
315 })
316 def create_ns(init_globals):
317 return run_module(mod_name, init_globals, alter_sys=alter_sys)
318 try:
319 if verbose > 1: print("Running from source:", mod_name)
320 self.check_code_execution(create_ns, expected_ns)

Callers

nothing calls this directly

Calls 1

run_moduleFunction · 0.90

Tested by

no test coverage detected