mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Py_Exit(status) calls exit(status), not exit(0).
This commit is contained in:
parent
f7e4793660
commit
faa1afe2d7
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue