summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorDavid Poirier <1152277+david-poirier@users.noreply.github.com>2023-03-21 21:58:31 (GMT)
committerGitHub <noreply@github.com>2023-03-21 21:58:31 (GMT)
commit41ef502d740b96ca6333a2d0202df7cce4a84e7d (patch)
tree788564ef2f4ad5bb5dfc9bdeb801d077af8d99f5 /Doc
parent76350e85ebf96df588384f3d9bdc20d11045bef4 (diff)
downloadcpython-41ef502d740b96ca6333a2d0202df7cce4a84e7d.zip
cpython-41ef502d740b96ca6333a2d0202df7cce4a84e7d.tar.gz
cpython-41ef502d740b96ca6333a2d0202df7cce4a84e7d.tar.bz2
Add link to `sys.exit` function documentation (#102805)
* Add link to `sys.exit` function documentation * Update Doc/library/os.rst Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * Update Doc/library/os.rst Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> --------- Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 3153f79..7bb501c 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -3951,7 +3951,7 @@ to be ignored.
.. note::
- The standard way to exit is ``sys.exit(n)``. :func:`_exit` should
+ The standard way to exit is :func:`sys.exit(n) <sys.exit>`. :func:`!_exit` should
normally only be used in the child process after a :func:`fork`.
The following exit codes are defined and can be used with :func:`_exit`,