mirror of https://github.com/python/cpython
Py_Exit(status) calls exit(status), not exit(0).
This commit is contained in:
parent
f7e4793660
commit
faa1afe2d7
|
@ -538,7 +538,7 @@ called which will attempt to produce a \file{core} file.
|
||||||
|
|
||||||
\begin{cfuncdesc}{void}{Py_Exit}{int status}
|
\begin{cfuncdesc}{void}{Py_Exit}{int status}
|
||||||
Exit the current process. This calls \code{Py_Finalize()} and then
|
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}
|
\end{cfuncdesc}
|
||||||
|
|
||||||
\begin{cfuncdesc}{int}{Py_AtExit}{void (*func) ()}
|
\begin{cfuncdesc}{int}{Py_AtExit}{void (*func) ()}
|
||||||
|
|
|
@ -538,7 +538,7 @@ called which will attempt to produce a \file{core} file.
|
||||||
|
|
||||||
\begin{cfuncdesc}{void}{Py_Exit}{int status}
|
\begin{cfuncdesc}{void}{Py_Exit}{int status}
|
||||||
Exit the current process. This calls \code{Py_Finalize()} and then
|
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}
|
\end{cfuncdesc}
|
||||||
|
|
||||||
\begin{cfuncdesc}{int}{Py_AtExit}{void (*func) ()}
|
\begin{cfuncdesc}{int}{Py_AtExit}{void (*func) ()}
|
||||||
|
|
Loading…
Reference in New Issue