summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-03-13 22:29:10 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-03-13 22:29:10 (GMT)
commit0cfc23762fb3cc5467d50de020a3b69710884aa5 (patch)
tree5127e0d2b99a88a246788a0c728dd57d04d5ad31 /Doc/c-api
parentc9723d09eb1b3faef6cc7e3c083def5e6d3278ae (diff)
parent9bd3bbcfe8f41509a0d60691000bd21e5338378f (diff)
downloadcpython-0cfc23762fb3cc5467d50de020a3b69710884aa5.zip
cpython-0cfc23762fb3cc5467d50de020a3b69710884aa5.tar.gz
cpython-0cfc23762fb3cc5467d50de020a3b69710884aa5.tar.bz2
Issue #11329: PyEval_InitThreads() cannot be called before Py_Initialize() anymore
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index da55ab0..2641c8b 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -29,8 +29,7 @@ Initializing and finalizing the interpreter
Initialize the Python interpreter. In an application embedding Python, this
should be called before using any other Python/C API functions; with the
- exception of :c:func:`Py_SetProgramName`, :c:func:`Py_SetPath`,
- and :c:func:`PyEval_InitThreads`. This initializes
+ exception of :c:func:`Py_SetProgramName` and :c:func:`Py_SetPath`. This initializes
the table of loaded modules (``sys.modules``), and creates the fundamental
modules :mod:`builtins`, :mod:`__main__` and :mod:`sys`. It also initializes
the module search path (``sys.path``). It does not set ``sys.argv``; use
@@ -540,8 +539,7 @@ code, or when embedding the Python interpreter:
.. index:: single: Py_Initialize()
- This is a no-op when called for a second time. It is safe to call this function
- before calling :c:func:`Py_Initialize`.
+ This is a no-op when called for a second time.
.. index:: module: _thread