]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add link to `sys.exit` function documentation (#102805)
authorDavid Poirier <1152277+david-poirier@users.noreply.github.com>
Tue, 21 Mar 2023 21:58:31 +0000 (08:58 +1100)
committerGitHub <noreply@github.com>
Tue, 21 Mar 2023 21:58:31 +0000 (06:58 +0900)
* 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>
Doc/library/os.rst

index 3153f79e10ce1febbda5f33c57704ca2d657a174..7bb501c59468178fbf5430799bd5d56c7b9609cd 100644 (file)
@@ -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`,