Kaydet (Commit) faa1afe2 authored tarafından Fred Drake's avatar Fred Drake

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

üst f7e47936
...@@ -538,7 +538,7 @@ called which will attempt to produce a \file{core} file. ...@@ -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. ...@@ -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) ()}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment