Commit ad709ee0 authored by Nick Coghlan's avatar Nick Coghlan

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

parent c5e44852
...@@ -118,6 +118,8 @@ source. ...@@ -118,6 +118,8 @@ source.
.. versionchanged:: 2.7 .. versionchanged:: 2.7
Supply the package name to run a ``__main__`` submodule. 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:: - .. describe:: -
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment