[Python-checkins] r80581 - python/trunk/Doc/using/cmdline.rst

nick.coghlan python-checkins at python.org
Wed Apr 28 16:53:59 CEST 2010


Author: nick.coghlan
Date: Wed Apr 28 16:53:59 2010
New Revision: 80581

Log:
Add version changed note for -m tinkering with sys.argv[0] during the search process

Modified:
   python/trunk/Doc/using/cmdline.rst

Modified: python/trunk/Doc/using/cmdline.rst
==============================================================================
--- python/trunk/Doc/using/cmdline.rst	(original)
+++ python/trunk/Doc/using/cmdline.rst	Wed Apr 28 16:53:59 2010
@@ -118,6 +118,8 @@
 
    .. versionchanged:: 2.7
       Supply the package name to run a ``__main__`` submodule.
+      sys.argv[0] is now set to ``"-m"`` while searching for the module
+      (it was previously incorrectly set to ``"-c"``)
 
 
 .. describe:: -


More information about the Python-checkins mailing list