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 093ba05 commit 11582faCopy full SHA for 11582fa
Doc/c-api/init.rst
@@ -2102,7 +2102,7 @@ Python-level trace functions in previous versions.
2102
Like :c:func:`PyEval_SetTrace` but sets the tracing function in all running threads
2103
belonging to the current interpreter instead of the setting it only on the current thread.
2104
2105
- The caller must hold the :term:`GIL`.
+ The caller must have an active :term:`thread state`.
2106
2107
As :c:func:`PyEval_SetTrace`, this function ignores any exceptions raised while
2108
setting the trace functions in all threads.
0 commit comments