Skip to content

Commit 3b7b3ff

Browse files
committed
Change term for PyEval_SetProfile
1 parent 6d397eb commit 3b7b3ff

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
@@ -2069,7 +2069,7 @@ Python-level trace functions in previous versions.
20692069
20702070
See also the :func:`sys.setprofile` function.
20712071
2072-
The caller must hold the :term:`GIL`.
2072+
The caller must have an active :term:`thread state`.
20732073
20742074
.. c:function:: void PyEval_SetProfileAllThreads(Py_tracefunc func, PyObject *obj)
20752075

0 commit comments

Comments
 (0)