diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2004-08-19 11:31:58 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2004-08-19 11:31:58 (GMT) |
commit | 336e85f56a87f2216855ca8a5771755f480ae7db (patch) | |
tree | ac9ca920703def475db825308caa688f3bd6b475 /Doc/api/init.tex | |
parent | 4d4dfb7a2b3bf4ed49a9f72ae8b802280b4e6154 (diff) | |
download | cpython-336e85f56a87f2216855ca8a5771755f480ae7db.zip cpython-336e85f56a87f2216855ca8a5771755f480ae7db.tar.gz cpython-336e85f56a87f2216855ca8a5771755f480ae7db.tar.bz2 |
Patch #900727: Add Py_InitializeEx to allow embedding without signals.
Diffstat (limited to 'Doc/api/init.tex')
-rw-r--r-- | Doc/api/init.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/api/init.tex b/Doc/api/init.tex index 4057f2f..ba96124 100644 --- a/Doc/api/init.tex +++ b/Doc/api/init.tex @@ -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()} |