mirror of
https://github.com/python/cpython.git
synced 2025-07-30 22:54:16 +00:00
Whitespace normalization.
This commit is contained in:
parent
1a9fac0937
commit
e33901eb2b
3 changed files with 4 additions and 4 deletions
|
@ -387,9 +387,9 @@ def _run_module_code(code, init_globals=None,
|
||||||
finally:
|
finally:
|
||||||
sys.argv[0] = saved_argv0
|
sys.argv[0] = saved_argv0
|
||||||
if restore_module:
|
if restore_module:
|
||||||
sys.modules[mod_name] = saved_module
|
sys.modules[mod_name] = saved_module
|
||||||
else:
|
else:
|
||||||
del sys.modules[mod_name]
|
del sys.modules[mod_name]
|
||||||
# Copy the globals of the temporary module, as they
|
# Copy the globals of the temporary module, as they
|
||||||
# may be cleared when the temporary module goes away
|
# may be cleared when the temporary module goes away
|
||||||
return mod_globals.copy()
|
return mod_globals.copy()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue