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 3b7b3ff commit 5358d14Copy full SHA for 5358d14
Doc/c-api/init.rst
@@ -2076,7 +2076,7 @@ Python-level trace functions in previous versions.
2076
Like :c:func:`PyEval_SetProfile` but sets the profile function in all running threads
2077
belonging to the current interpreter instead of the setting it only on the current thread.
2078
2079
- The caller must hold the :term:`GIL`.
+ The caller must have an active :term:`thread state`.
2080
2081
As :c:func:`PyEval_SetProfile`, this function ignores any exceptions raised while
2082
setting the profile functions in all threads.
0 commit comments