]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-20443: Update What's New In Python 3.9 (GH-17986)
authorVictor Stinner <vstinner@python.org>
Mon, 13 Jan 2020 13:57:14 +0000 (14:57 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Jan 2020 13:57:14 +0000 (14:57 +0100)
The sys.argv[0] change has been reverted.

Doc/whatsnew/3.9.rst

index 340079c0e69531ba517d693071f7ec04903069d4..b6ffa234536260663920b30ef55d248b270f3bf3 100644 (file)
@@ -83,7 +83,7 @@ Other Language Changes
 
 * Python now gets the absolute path of the script filename specified on
   the command line (ex: ``python3 script.py``): the ``__file__`` attribute of
-  the :mod:`__main__` module, ``sys.argv[0]`` and ``sys.path[0]`` become an
+  the :mod:`__main__` module and ``sys.path[0]`` become an
   absolute path, rather than a relative path. These paths now remain valid
   after the current directory is changed by :func:`os.chdir`. As a side effect,
   a traceback also displays the absolute path for :mod:`__main__` module frames