Skip to content

Commit 5358d14

Browse files
committed
Change term for PyEval_SetProfileAllThreads
1 parent 3b7b3ff commit 5358d14

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
@@ -2076,7 +2076,7 @@ Python-level trace functions in previous versions.
20762076
Like :c:func:`PyEval_SetProfile` but sets the profile function in all running threads
20772077
belonging to the current interpreter instead of the setting it only on the current thread.
20782078
2079-
The caller must hold the :term:`GIL`.
2079+
The caller must have an active :term:`thread state`.
20802080
20812081
As :c:func:`PyEval_SetProfile`, this function ignores any exceptions raised while
20822082
setting the profile functions in all threads.

0 commit comments

Comments
 (0)