Skip to content

Commit 6b33565

Browse files
committed
Change term for debug hooks
1 parent e7828ed commit 6b33565

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
@@ -554,7 +554,7 @@ Runtime checks:
554554
called on a memory block allocated by :c:func:`PyMem_Malloc`.
555555
- Detect write before the start of the buffer (buffer underflow).
556556
- Detect write after the end of the buffer (buffer overflow).
557-
- Check that the :term:`GIL <global interpreter lock>` is held when
557+
- Check that a :term:`thread state` is active when
558558
allocator functions of :c:macro:`PYMEM_DOMAIN_OBJ` (ex:
559559
:c:func:`PyObject_Malloc`) and :c:macro:`PYMEM_DOMAIN_MEM` (ex:
560560
:c:func:`PyMem_Malloc`) domains are called.

0 commit comments

Comments
 (0)