Skip to content

Commit 21b9402

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 d5fdc3f commit 21b9402

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
@@ -3658,7 +3658,7 @@ to be ignored.
36583658

36593659
.. note::
36603660

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

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

0 commit comments

Comments
 (0)