summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) ()}