Skip to content

Commit c1ee6e5

Browse files
authored
bpo-20443: Update What's New In Python 3.9 (GH-17986)
The sys.argv[0] change has been reverted.
1 parent e7c9f4a commit c1ee6e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/whatsnew/3.9.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Other Language Changes
8383

8484
* Python now gets the absolute path of the script filename specified on
8585
the command line (ex: ``python3 script.py``): the ``__file__`` attribute of
86-
the :mod:`__main__` module, ``sys.argv[0]`` and ``sys.path[0]`` become an
86+
the :mod:`__main__` module and ``sys.path[0]`` become an
8787
absolute path, rather than a relative path. These paths now remain valid
8888
after the current directory is changed by :func:`os.chdir`. As a side effect,
8989
a traceback also displays the absolute path for :mod:`__main__` module frames

0 commit comments

Comments
 (0)