We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1096a32 commit 407062fCopy full SHA for 407062f
1 file changed
Doc/c-api/threads.rst
@@ -551,7 +551,7 @@ will hang the process during interpreter finalization (see
551
.. versionadded:: 3.4
552
553
.. soft-deprecated:: 3.15
554
- Use :c:expr:`PyThreadState_GetUnchecked() != NULL` instead.
+ Use ``PyThreadState_GetUnchecked() != NULL`` instead.
555
556
557
.. _fork-and-threads:
@@ -905,7 +905,7 @@ pointer and a void pointer argument.
905
possible. If the main thread is busy executing a system call,
906
*func* won't be called before the system call returns. This
907
function is generally **not** suitable for calling Python code from
908
- arbitrary C threads. Instead, use the :ref:`PyGILState API<gilstate>`.
+ arbitrary C threads. Instead, use :c:func:`PyThreadState_EnsureFromView`.
909
910
.. versionadded:: 3.1
911
0 commit comments