From 41ef502d740b96ca6333a2d0202df7cce4a84e7d Mon Sep 17 00:00:00 2001 From: David Poirier <1152277+david-poirier@users.noreply.github.com> Date: Wed, 22 Mar 2023 08:58:31 +1100 Subject: [PATCH] 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 * Update Doc/library/os.rst Co-authored-by: C.A.M. Gerlach --------- Co-authored-by: Ezio Melotti Co-authored-by: C.A.M. Gerlach --- Doc/library/os.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 3153f79e10ce1f..7bb501c5946817 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) `. :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`,