Skip to content

Commit 94e046b

Browse files
committed
Change term for allocator domains
1 parent 6d80b02 commit 94e046b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/c-api/memory.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ The three allocation domains are:
110110

111111
* Raw domain: intended for allocating memory for general-purpose memory
112112
buffers where the allocation *must* go to the system allocator or where the
113-
allocator can operate without the :term:`GIL`. The memory is requested directly
114-
from the system. See :ref:`Raw Memory Interface <raw-memoryinterface>`.
113+
allocator can operate without an active :term:`thread state`. The memory
114+
is requested directly from the system. See :ref:`Raw Memory Interface <raw-memoryinterface>`.
115115

116116
* "Mem" domain: intended for allocating memory for Python buffers and
117117
general-purpose memory buffers where the allocation must be performed with
118-
the :term:`GIL` held. The memory is taken from the Python private heap.
118+
an active :term:`thread state`. The memory is taken from the Python private heap.
119119
See :ref:`Memory Interface <memoryinterface>`.
120120

121121
* Object domain: intended for allocating memory for Python objects. The

0 commit comments

Comments
 (0)