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 25223a0 commit f39e31dCopy full SHA for f39e31d
Doc/c-api/threads.rst
@@ -107,7 +107,7 @@ The block above expands to the following code::
107
Here is how these functions work:
108
109
The attached thread state implies that the GIL is held for the interpreter.
110
-To detach it, :c:func:`PyEval_StoreThread` is called and the result is stored
+To detach it, :c:func:`PyEval_SaveThread` is called and the result is stored
111
in a local variable.
112
113
By detaching the thread state, the GIL is released, which allows other threads
0 commit comments