Skip to content

Commit 1eb9b24

Browse files
miss-islingtondavid-poirierezio-melottiCAM-Gerlach
authored
Add link to sys.exit function documentation (GH-102805)
* Add link to `sys.exit` function documentation * Update Doc/library/os.rst Co-authored-by: Ezio Melotti <[email protected]> * Update Doc/library/os.rst Co-authored-by: C.A.M. Gerlach <[email protected]> --------- (cherry picked from commit 41ef502) Co-authored-by: David Poirier <[email protected]> Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: C.A.M. Gerlach <[email protected]>
1 parent 4c6b354 commit 1eb9b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3732,7 +3732,7 @@ to be ignored.
37323732

37333733
.. note::
37343734

3735-
The standard way to exit is ``sys.exit(n)``. :func:`_exit` should
3735+
The standard way to exit is :func:`sys.exit(n) <sys.exit>`. :func:`!_exit` should
37363736
normally only be used in the child process after a :func:`fork`.
37373737

37383738
The following exit codes are defined and can be used with :func:`_exit`,

0 commit comments

Comments
 (0)