]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Py_Exit(status) calls exit(status), not exit(0).
authorFred Drake <fdrake@acm.org>
Thu, 12 Feb 1998 20:51:02 +0000 (20:51 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 12 Feb 1998 20:51:02 +0000 (20:51 +0000)
Doc/api.tex
Doc/api/api.tex

index 26fc104984f2405f9945f9555755e6a02f09cb9d..96d2d76791397130286c8a6adc08550bb4c3acdd 100644 (file)
@@ -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) ()}
index 26fc104984f2405f9945f9555755e6a02f09cb9d..96d2d76791397130286c8a6adc08550bb4c3acdd 100644 (file)
@@ -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) ()}