From faa1afe2d79f9238ac78169cb1042a52fcd43eef Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 12 Feb 1998 20:51:02 +0000 Subject: [PATCH] Py_Exit(status) calls exit(status), not exit(0). --- Doc/api.tex | 2 +- Doc/api/api.tex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/api.tex b/Doc/api.tex index 26fc104984..96d2d76791 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 26fc104984..96d2d76791 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) ()} -- 2.40.0