summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-01-13 13:57:14 (GMT)
committerGitHub <noreply@github.com>2020-01-13 13:57:14 (GMT)
commitc1ee6e5e9b87c9812c6745c1dd6c1788a984f9f9 (patch)
treed6368d7b60885cfcb5b09ca609774f528f2276f0
parente7c9f4aae1a8540fe8e9a8a5017b16f906f51068 (diff)
downloadcpython-c1ee6e5e9b87c9812c6745c1dd6c1788a984f9f9.zip
cpython-c1ee6e5e9b87c9812c6745c1dd6c1788a984f9f9.tar.gz
cpython-c1ee6e5e9b87c9812c6745c1dd6c1788a984f9f9.tar.bz2
bpo-20443: Update What's New In Python 3.9 (GH-17986)
The sys.argv[0] change has been reverted.
-rw-r--r--Doc/whatsnew/3.9.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 340079c..b6ffa23 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -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