Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9fc68c4

Browse files
committed
Merged revisions 82439 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r82439 | nick.coghlan | 2010-07-03 01:50:14 +1000 (Sat, 03 Jul 2010) | 1 line Fix a couple of minor nits in What's New before the release goes out ........
1 parent f751bc9 commit 9fc68c4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/whatsnew/2.7.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -861,10 +861,10 @@ across operating systems and shells.)
861861

862862
When running a module using the interpreter's :option:`-m` switch,
863863
``sys.argv[0]`` will now be set to the string ``'-m'`` while the
864-
module is being located, while executing the :file:`__init__.py` files
865-
for any parent packages of the module to be executed.
866-
(Suggested by Michael Foord; implemented by Nick Coghlan;
867-
:issue:`8202`.)
864+
module is being located. This change is visible to user code while
865+
executing the :file:`__init__.py` files for any parent packages of
866+
the module to be executed. (Suggested by Michael Foord; implemented
867+
by Nick Coghlan; :issue:`8202`.)
868868

869869
.. ======================================================================
870870
@@ -1420,9 +1420,9 @@ changes, or look through the Subversion logs for all the details.
14201420
``sys.path`` and the module :mod:`__main__` will be imported. It's
14211421
expected that the directory or zip contains a :file:`__main__.py`;
14221422
if it doesn't, some other :file:`__main__.py` might be imported from
1423-
a location later in ``sys.path``. This makes some of the machinery
1423+
a location later in ``sys.path``. This makes more of the machinery
14241424
of :mod:`runpy` available to scripts that want to mimic the way
1425-
Python's :option:`-m` processes an explicit path name.
1425+
Python's command line processes an explicit path name.
14261426
(Added by Nick Coghlan; :issue:`6816`.)
14271427

14281428
* New function: in the :mod:`shutil` module, :func:`~shutil.make_archive`

0 commit comments

Comments
 (0)