mirror of
https://github.com/python/cpython.git
synced 2025-09-16 13:47:31 +00:00
Add version changed note for -m tinkering with sys.argv[0] during the search process
This commit is contained in:
parent
c5e4485248
commit
ad709ee06b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue