[Python-checkins] r42869 - peps/trunk/pep-0338.txt
nick.coghlan
python-checkins at python.org
Mon Mar 6 09:59:12 CET 2006
Author: nick.coghlan
Date: Mon Mar 6 09:59:10 2006
New Revision: 42869
Modified:
peps/trunk/pep-0338.txt
Log:
Fix name of parameter in run_module signature
Modified: peps/trunk/pep-0338.txt
==============================================================================
--- peps/trunk/pep-0338.txt (original)
+++ peps/trunk/pep-0338.txt Mon Mar 6 09:59:10 2006
@@ -132,11 +132,11 @@
``runpy.run_module`` instead of trying to run the module directly.
The delegation has the form::
- runpy.run_module(sys.argv[0], run_name="__main__", as_script=True)
+ runpy.run_module(sys.argv[0], run_name="__main__", alter_sys=True)
``run_module`` is the only function ``runpy`` exposes in its public API.
-``run_module(mod_name[, init_globals][, run_name][, as_script])``
+``run_module(mod_name[, init_globals][, run_name][, alter_sys])``
Execute the code of the specified module and return the resulting
module globals dictionary. The module's code is first located using
More information about the Python-checkins
mailing list