Skip to content

Commit 6230177

Browse files
committed
Change term for debug hooks (again)
1 parent 6b33565 commit 6230177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/memory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ PYMEM_CLEANBYTE (meaning uninitialized memory is getting used).
619619
The :c:func:`PyMem_SetupDebugHooks` function now also works on Python
620620
compiled in release mode. On error, the debug hooks now use
621621
:mod:`tracemalloc` to get the traceback where a memory block was allocated.
622-
The debug hooks now also check if the GIL is held when functions of
622+
The debug hooks now also check if a :term:`thread state` is active when functions of
623623
:c:macro:`PYMEM_DOMAIN_OBJ` and :c:macro:`PYMEM_DOMAIN_MEM` domains are
624624
called.
625625

0 commit comments

Comments
 (0)