Skip to content

Commit 11582fa

Browse files
committed
Change term for PyEval_SetTraceAllThreads
1 parent 093ba05 commit 11582fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2102,7 +2102,7 @@ Python-level trace functions in previous versions.
21022102
Like :c:func:`PyEval_SetTrace` but sets the tracing function in all running threads
21032103
belonging to the current interpreter instead of the setting it only on the current thread.
21042104
2105-
The caller must hold the :term:`GIL`.
2105+
The caller must have an active :term:`thread state`.
21062106
21072107
As :c:func:`PyEval_SetTrace`, this function ignores any exceptions raised while
21082108
setting the trace functions in all threads.

0 commit comments

Comments
 (0)