Skip to content

Commit

Permalink
Add link to sys.exit function documentation (#102805)
Browse files Browse the repository at this point in the history
* 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]>

---------

Co-authored-by: Ezio Melotti <[email protected]>
Co-authored-by: C.A.M. Gerlach <[email protected]>
  • Loading branch information
3 people authored Mar 21, 2023
1 parent 76350e8 commit 41ef502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down

0 comments on commit 41ef502

Please sign in to comment.