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 11582fa commit 3d55d2dCopy full SHA for 3d55d2d
Doc/c-api/init.rst
@@ -2144,10 +2144,10 @@ Reference tracing
2144
2145
Not that tracer functions **must not** create Python objects inside or
2146
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.
+ any existing exception or set an exception. A :term:`thread state` will be active
+ every time the tracer function is called.
2149
2150
- The GIL must be held when calling this function.
+ The :term:`thread state` must be active when calling this function.
2151
2152
.. versionadded:: 3.13
2153
0 commit comments