From: Nick Coghlan Date: Wed, 28 Apr 2010 14:53:59 +0000 (+0000) Subject: Add version changed note for -m tinkering with sys.argv[0] during the search process X-Git-Tag: v2.7b2~155 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad709ee06bbf7aec47c92b2ac29bc21f9e05a93d;p=thirdparty%2FPython%2Fcpython.git 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 0199f9fee3dd..d458ddbc8b37 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:: -