summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-17 10:51:45 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-17 10:51:45 (GMT)
commit6f4e68d82c2009c2a297f25a8a4896f0d1a8e66d (patch)
tree7af9670e76222c123437cd1aed4ff95fb9f60c8c /Doc/library/os.rst
parenta192828ea138189b9abfbe3912c62e8c0bb4319f (diff)
downloadcpython-6f4e68d82c2009c2a297f25a8a4896f0d1a8e66d.zip
cpython-6f4e68d82c2009c2a297f25a8a4896f0d1a8e66d.tar.gz
cpython-6f4e68d82c2009c2a297f25a8a4896f0d1a8e66d.tar.bz2
#5962: clarify sys.exit() vs. threads.
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index c8e5b96..cb9d9c4 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1576,15 +1576,15 @@ to be ignored.
.. function:: _exit(n)
- Exit to the system with status *n*, without calling cleanup handlers, flushing
+ Exit the process with status *n*, without calling cleanup handlers, flushing
stdio buffers, etc.
Availability: Unix, Windows.
.. note::
- The standard way to exit is ``sys.exit(n)``. :func:`_exit` should normally only
- be used in the child process after a :func:`fork`.
+ The standard way to exit is ``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`,
although they are not required. These are typically used for system programs