summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-12 20:51:02 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-12 20:51:02 (GMT)
commitfaa1afe2d79f9238ac78169cb1042a52fcd43eef (patch)
tree054dba92451accdb14964424c949580cd22df6ca /Doc/api
parentf7e4793660289bd2b1d9877cc936a7e934f910c5 (diff)
downloadcpython-faa1afe2d79f9238ac78169cb1042a52fcd43eef.zip
cpython-faa1afe2d79f9238ac78169cb1042a52fcd43eef.tar.gz
cpython-faa1afe2d79f9238ac78169cb1042a52fcd43eef.tar.bz2
Py_Exit(status) calls exit(status), not exit(0).
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/api.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/api.tex b/Doc/api/api.tex
index 26fc104..96d2d76 100644
--- a/Doc/api/api.tex
+++ b/Doc/api/api.tex
@@ -538,7 +538,7 @@ called which will attempt to produce a \file{core} file.
\begin{cfuncdesc}{void}{Py_Exit}{int status}
Exit the current process. This calls \code{Py_Finalize()} and then
-calls the standard \C{} library function \code{exit(0)}.
+calls the standard \C{} library function \code{exit(\var{status})}.
\end{cfuncdesc}
\begin{cfuncdesc}{int}{Py_AtExit}{void (*func) ()}