Lines Matching refs:init_globals
65 def _run_code(code, run_globals, init_globals=None,
69 if init_globals is not None:
70 run_globals.update(init_globals)
91 def _run_module_code(code, init_globals=None,
98 _run_code(code, mod_globals, init_globals,
201 def run_module(mod_name, init_globals=None,
208 init_globals -- dictionary used to pre-populate the module’s
226 return _run_module_code(code, init_globals, run_name, mod_spec)
229 return _run_code(code, {}, init_globals, run_name, mod_spec)
262 def run_path(path_name, init_globals=None, run_name=None):
269 init_globals -- dictionary used to pre-populate the module’s
291 return _run_module_code(code, init_globals, run_name,
308 return _run_code(code, mod_globals, init_globals,