summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2018-09-29 16:07:11 (GMT)
committerBrian Curtin <brian@python.org>2018-09-29 16:07:11 (GMT)
commiteef059657d6b10babdb4831e1148d60cc644ee9a (patch)
tree652e15fa0231948d3d14d35a0a922fb56ff273de /Doc/c-api
parent508d8205121868ef24cca99f1f952558b1ff2f2e (diff)
downloadcpython-eef059657d6b10babdb4831e1148d60cc644ee9a.zip
cpython-eef059657d6b10babdb4831e1148d60cc644ee9a.tar.gz
cpython-eef059657d6b10babdb4831e1148d60cc644ee9a.tar.bz2
bpo-31370: Remove references to threadless builds (#8805)
Support for threadless builds was removed in a6a4dc81.
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 694b466..e51a255 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()