Py_Exit(status) calls exit(status), not exit(0).

This commit is contained in:
Fred Drake 1998-02-12 20:51:02 +00:00
parent f7e4793660
commit faa1afe2d7
2 changed files with 2 additions and 2 deletions

View 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) ()}

View 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) ()}