summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2010-07-02 15:50:14 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2010-07-02 15:50:14 (GMT)
commit8c16c5ce1047bb39b421c9f04c38f7b6f6b0256b (patch)
tree317348b3431e9f0a0e3359958a61a30f056c0310 /Doc/whatsnew
parent0ada39cd8bbdc375a0990cd0157c2acc647c64cb (diff)
downloadcpython-8c16c5ce1047bb39b421c9f04c38f7b6f6b0256b.zip
cpython-8c16c5ce1047bb39b421c9f04c38f7b6f6b0256b.tar.gz
cpython-8c16c5ce1047bb39b421c9f04c38f7b6f6b0256b.tar.bz2
Fix a couple of minor nits in What's New before the release goes out
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.7.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst
index ded7f7e..72aa7e6 100644
--- a/Doc/whatsnew/2.7.rst
+++ b/Doc/whatsnew/2.7.rst
@@ -861,10 +861,10 @@ across operating systems and shells.)
When running a module using the interpreter's :option:`-m` switch,
``sys.argv[0]`` will now be set to the string ``'-m'`` while the
-module is being located, while executing the :file:`__init__.py` files
-for any parent packages of the module to be executed.
-(Suggested by Michael Foord; implemented by Nick Coghlan;
-:issue:`8202`.)
+module is being located. This change is visible to user code while
+executing the :file:`__init__.py` files for any parent packages of
+the module to be executed. (Suggested by Michael Foord; implemented
+by Nick Coghlan; :issue:`8202`.)
.. ======================================================================
@@ -1420,9 +1420,9 @@ changes, or look through the Subversion logs for all the details.
``sys.path`` and the module :mod:`__main__` will be imported. It's
expected that the directory or zip contains a :file:`__main__.py`;
if it doesn't, some other :file:`__main__.py` might be imported from
- a location later in ``sys.path``. This makes some of the machinery
+ a location later in ``sys.path``. This makes more of the machinery
of :mod:`runpy` available to scripts that want to mimic the way
- Python's :option:`-m` processes an explicit path name.
+ Python's command line processes an explicit path name.
(Added by Nick Coghlan; :issue:`6816`.)
* New function: in the :mod:`shutil` module, :func:`~shutil.make_archive`