diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2010-04-28 14:53:59 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2010-04-28 14:53:59 (GMT) |
commit | ad709ee06bbf7aec47c92b2ac29bc21f9e05a93d (patch) | |
tree | e1e204b6a7022feff7a6e55224cfc8c32292f270 /Doc/using | |
parent | c5e448524818df5858e1fe98ce81aeb5ca3a14c4 (diff) | |
download | cpython-ad709ee06bbf7aec47c92b2ac29bc21f9e05a93d.zip cpython-ad709ee06bbf7aec47c92b2ac29bc21f9e05a93d.tar.gz cpython-ad709ee06bbf7aec47c92b2ac29bc21f9e05a93d.tar.bz2 |
Add version changed note for -m tinkering with sys.argv[0] during the search process
Diffstat (limited to 'Doc/using')
-rw-r--r-- | Doc/using/cmdline.rst | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ 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:: - |