commit | ad709ee06bbf7aec47c92b2ac29bc21f9e05a93d | [log] [tgz] |
---|---|---|
author | Nick Coghlan <ncoghlan@gmail.com> | Wed Apr 28 14:53:59 2010 +0000 |
committer | Nick Coghlan <ncoghlan@gmail.com> | Wed Apr 28 14:53:59 2010 +0000 |
tree | e1e204b6a7022feff7a6e55224cfc8c32292f270 | |
parent | c5e448524818df5858e1fe98ce81aeb5ca3a14c4 [diff] |
Add version changed note for -m tinkering with sys.argv[0] during the search process
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 0199f9f..d458ddb 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst
@@ -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:: -