Skip to content

Commit 7161fc0

Browse files
committed
Change term for various things
1 parent f74832a commit 7161fc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/c-api/perfmaps.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ kernel/git/torvalds/linux.git/tree/tools/perf/Documentation/jit-interface.txt>`_
1616
In Python, these helper APIs can be used by libraries and features that rely
1717
on generating machine code on the fly.
1818

19-
Note that holding the Global Interpreter Lock (GIL) is not required for these APIs.
19+
Note that holding an active :term:`thread state` is not required for these APIs.
2020

2121
.. c:function:: int PyUnstable_PerfMapState_Init(void)
2222

Doc/c-api/sys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ accessible to C code. They all work with the current interpreter thread's
346346
silently abort the operation by raising an error subclassed from
347347
:class:`Exception` (other errors will not be silenced).
348348
349-
The hook function is always called with the GIL held by the Python
349+
The hook function is always called with a :term:`thread state` by the Python
350350
interpreter that raised the event.
351351
352352
See :pep:`578` for a detailed description of auditing. Functions in the

0 commit comments

Comments
 (0)