Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit faa1afe

Browse files
committed
Py_Exit(status) calls exit(status), not exit(0).
1 parent f7e4793 commit faa1afe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/api.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ \chapter{Basic Utilities}
538538

539539
\begin{cfuncdesc}{void}{Py_Exit}{int status}
540540
Exit the current process. This calls \code{Py_Finalize()} and then
541-
calls the standard \C{} library function \code{exit(0)}.
541+
calls the standard \C{} library function \code{exit(\var{status})}.
542542
\end{cfuncdesc}
543543

544544
\begin{cfuncdesc}{int}{Py_AtExit}{void (*func) ()}

Doc/api/api.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ \chapter{Basic Utilities}
538538

539539
\begin{cfuncdesc}{void}{Py_Exit}{int status}
540540
Exit the current process. This calls \code{Py_Finalize()} and then
541-
calls the standard \C{} library function \code{exit(0)}.
541+
calls the standard \C{} library function \code{exit(\var{status})}.
542542
\end{cfuncdesc}
543543

544544
\begin{cfuncdesc}{int}{Py_AtExit}{void (*func) ()}

0 commit comments

Comments
 (0)