Add version changed note for -m tinkering with sys.argv[0] during the search process

This commit is contained in:
Nick Coghlan 2010-04-28 14:53:59 +00:00
parent c5e4485248
commit ad709ee06b

View 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:: -