summaryrefslogtreecommitdiff
path: root/Doc/c-api
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 694b4669ee..e51a2555f6 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -842,18 +842,18 @@ code, or when embedding the Python interpreter:
.. c:function:: PyThreadState* PyEval_SaveThread()
- Release the global interpreter lock (if it has been created and thread
- support is enabled) and reset the thread state to *NULL*, returning the
- previous thread state (which is not *NULL*). If the lock has been created,
- the current thread must have acquired it.
+ Release the global interpreter lock (if it has been created) and reset the
+ thread state to *NULL*, returning the previous thread state (which is not
+ *NULL*). If the lock has been created, the current thread must have
+ acquired it.
.. c:function:: void PyEval_RestoreThread(PyThreadState *tstate)
- Acquire the global interpreter lock (if it has been created and thread
- support is enabled) and set the thread state to *tstate*, which must not be
- *NULL*. If the lock has been created, the current thread must not have
- acquired it, otherwise deadlock ensues.
+ Acquire the global interpreter lock (if it has been created) and set the
+ thread state to *tstate*, which must not be *NULL*. If the lock has been
+ created, the current thread must not have acquired it, otherwise deadlock
+ ensues.
.. c:function:: PyThreadState* PyThreadState_Get()