]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add link to `sys.exit` function documentation (GH-102805)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 21 Mar 2023 22:05:32 +0000 (15:05 -0700)
committerGitHub <noreply@github.com>
Tue, 21 Mar 2023 22:05:32 +0000 (15:05 -0700)
* 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>
---------

(cherry picked from commit 41ef502d740b96ca6333a2d0202df7cce4a84e7d)

Co-authored-by: David Poirier <1152277+david-poirier@users.noreply.github.com>
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 1f1e2fd31454c36c62c0c86d55c136f93eb29e8d..28990c216af3d164707c163e624c0359ae47b1e1 100644 (file)
@@ -3658,7 +3658,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`,