summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-03-15 19:22:50 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-03-15 19:22:50 (GMT)
commit9bb9877d8079ccfc4f5b5448ba111392140112e4 (patch)
tree62023543c0babffc15ce796aec05ebb566247aac /Doc/c-api
parent4a0b60c5273451909d8bd6e538c140c9c42593c7 (diff)
downloadcpython-9bb9877d8079ccfc4f5b5448ba111392140112e4.zip
cpython-9bb9877d8079ccfc4f5b5448ba111392140112e4.tar.gz
cpython-9bb9877d8079ccfc4f5b5448ba111392140112e4.tar.bz2
Followup to 4c59cd84086f: add an entry in the porting guide and a "versionchanged" attribute.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 2641c8b..623bd7c 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -537,10 +537,11 @@ code, or when embedding the Python interpreter:
operations such as ``PyEval_ReleaseThread(tstate)``. It is not needed before
calling :c:func:`PyEval_SaveThread` or :c:func:`PyEval_RestoreThread`.
- .. index:: single: Py_Initialize()
-
This is a no-op when called for a second time.
+ .. versionchanged:: 3.2
+ This function cannot be called before :c:func:`Py_Initialize()` anymore.
+
.. index:: module: _thread
.. note::