diff options
author | Ananthakrishnan <ananthakrishnan15.2001@gmail.com> | 2020-02-29 12:25:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 12:25:22 (GMT) |
commit | 1f0cd3c61a5ae3aac5ebaccc75ae9828ca4f96c4 (patch) | |
tree | cd4a41462d9c733503d7297a1cd6d9684932a63e /Doc | |
parent | dc04a0571e362cd3de040771d7705cb107ae26fc (diff) | |
download | cpython-1f0cd3c61a5ae3aac5ebaccc75ae9828ca4f96c4.zip cpython-1f0cd3c61a5ae3aac5ebaccc75ae9828ca4f96c4.tar.gz cpython-1f0cd3c61a5ae3aac5ebaccc75ae9828ca4f96c4.tar.bz2 |
bpo-39379: Remove reference to sys.path[0] being absolute path in whatsnew (GH-18561)
Remove reference to sys.path[0] being absolute path in whatsnew
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.9.rst | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index 8ad26d6..3364f39 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -89,11 +89,10 @@ 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 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 - in this case. + the :mod:`__main__` module became 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, the traceback also displays the + absolute path for :mod:`__main__` module frames in this case. (Contributed by Victor Stinner in :issue:`20443`.) * In the :ref:`Python Development Mode <devmode>` and in debug build, the |