Skip to content

Commit 093ba05

Browse files
committed
Change term for PyEval_SetTrace
1 parent 5358d14 commit 093ba05

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
@@ -2095,7 +2095,7 @@ Python-level trace functions in previous versions.
20952095
20962096
See also the :func:`sys.settrace` function.
20972097
2098-
The caller must hold the :term:`GIL`.
2098+
The caller must have an active :term:`thread state`.
20992099
21002100
.. c:function:: void PyEval_SetTraceAllThreads(Py_tracefunc func, PyObject *obj)
21012101

0 commit comments

Comments
 (0)