mirror of https://github.com/python/cpython.git
Add version changed note for -m tinkering with sys.argv[0] during the search process
This commit is contained in:
parent
c5e4485248
commit
ad709ee06b
|
@ -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:: -
|
||||
|
|
Loading…
Reference in New Issue