We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7c9f4a commit c1ee6e5Copy full SHA for c1ee6e5
Doc/whatsnew/3.9.rst
@@ -83,7 +83,7 @@ Other Language Changes
83
84
* Python now gets the absolute path of the script filename specified on
85
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
+ the :mod:`__main__` module and ``sys.path[0]`` become an
87
absolute path, rather than a relative path. These paths now remain valid
88
after the current directory is changed by :func:`os.chdir`. As a side effect,
89
a traceback also displays the absolute path for :mod:`__main__` module frames
0 commit comments