summaryrefslogtreecommitdiffstats
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
parentf7e4793660289bd2b1d9877cc936a7e934f910c5 (diff)
downloadcpython-faa1afe2d79f9238ac78169cb1042a52fcd43eef.zip
cpython-faa1afe2d79f9238ac78169cb1042a52fcd43eef.tar.gz
cpython-faa1afe2d79f9238ac78169cb1042a52fcd43eef.tar.bz2
Py_Exit(status) calls exit(status), not exit(0).
-rw-r--r--Doc/api.tex2
-rw-r--r--Doc/api/api.tex2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/api.tex b/Doc/api.tex
index 26fc104..96d2d76 100644
--- a/Doc/api.tex
+++ b/Doc/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) ()}
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) ()}