From: Fred Drake Date: Thu, 12 Feb 1998 20:51:02 +0000 (+0000) Subject: Py_Exit(status) calls exit(status), not exit(0). X-Git-Tag: v1.5.1~787 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=faa1afe2d79f9238ac78169cb1042a52fcd43eef;p=thirdparty%2FPython%2Fcpython.git Py_Exit(status) calls exit(status), not exit(0). --- diff --git a/Doc/api.tex b/Doc/api.tex index 26fc104984f2..96d2d7679139 100644 --- a/Doc/api.tex +++ b/Doc/api.tex @@ -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) ()} diff --git a/Doc/api/api.tex b/Doc/api/api.tex index 26fc104984f2..96d2d7679139 100644 --- a/Doc/api/api.tex +++ b/Doc/api/api.tex @@ -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) ()}