Skip to content

Commit f608211

Browse files
committed
Change term for object allocators
1 parent 2140bde commit f608211

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/c-api/memory.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,7 @@ The :ref:`default object allocator <default-memory-allocators>` uses the
327327
328328
.. warning::
329329
330-
The :term:`GIL <global interpreter lock>` must be held when using these
331-
functions.
330+
A :term:`thread state` must be active when using these functions.
332331
333332
.. c:function:: void* PyObject_Malloc(size_t n)
334333

0 commit comments

Comments
 (0)