Mercurial > cpython-lru_cache-weakref
diff Doc/api/init.tex @ 33189:de804edf8bcd legacy-trunk
Patch #900727: Add Py_InitializeEx to allow embedding without signals.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Thu, 19 Aug 2004 11:31:58 +0000 |
| parents | 511ffc62b298 |
| children | a46b76eb9053 |
line wrap: on
line diff
--- a/Doc/api/init.tex Thu Aug 19 11:07:49 2004 +0000 +++ b/Doc/api/init.tex Thu Aug 19 11:31:58 2004 +0000 @@ -23,6 +23,13 @@ no return value; it is a fatal error if the initialization fails. \end{cfuncdesc} +\begin{cfuncdesc}{void}{Py_InitializeEx}{int initsigs} + This function works like \cfunction{Py_Initialize} if + \var{initsigs} is 1. If \var{initsigs} is 0, it skips + initialization registration of signal handlers, which + might be useful when Python is embedded. \versionadded{2.4} +\end{cfuncdesc} + \begin{cfuncdesc}{int}{Py_IsInitialized}{} Return true (nonzero) when the Python interpreter has been initialized, false (zero) if not. After \cfunction{Py_Finalize()}
