]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add version changed note for -m tinkering with sys.argv[0] during the search process
authorNick Coghlan <ncoghlan@gmail.com>
Wed, 28 Apr 2010 14:53:59 +0000 (14:53 +0000)
committerNick Coghlan <ncoghlan@gmail.com>
Wed, 28 Apr 2010 14:53:59 +0000 (14:53 +0000)
Doc/using/cmdline.rst

index 0199f9fee3dd25868bebe40030eb9936ece18b05..d458ddbc8b374663045e49f1700ad5dee18d3f7e 100644 (file)
@@ -118,6 +118,8 @@ source.
 
    .. 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:: -