Skip to content

Commit 3d55d2d

Browse files
committed
Change term for PyRefTracer_SetTracer
1 parent 11582fa commit 3d55d2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/c-api/init.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2144,10 +2144,10 @@ Reference tracing
21442144
21452145
Not that tracer functions **must not** create Python objects inside or
21462146
otherwise the call will be re-entrant. The tracer also **must not** clear
2147-
any existing exception or set an exception. The GIL will be held every time
2148-
the tracer function is called.
2147+
any existing exception or set an exception. A :term:`thread state` will be active
2148+
every time the tracer function is called.
21492149
2150-
The GIL must be held when calling this function.
2150+
The :term:`thread state` must be active when calling this function.
21512151
21522152
.. versionadded:: 3.13
21532153

0 commit comments

Comments
 (0)