From ad709ee06bbf7aec47c92b2ac29bc21f9e05a93d Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Wed, 28 Apr 2010 14:53:59 +0000 Subject: [PATCH] Add version changed note for -m tinkering with sys.argv[0] during the search process --- Doc/using/cmdline.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 0199f9fee3..d458ddbc8b 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:: - -- 2.40.0