Skip to content

Commit d619387

Browse files
committed
Change term for PyMem_SetAllocator
1 parent f608211 commit d619387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/memory.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,12 +484,12 @@ Customize Memory Allocators
484484
zero bytes.
485485
486486
For the :c:macro:`PYMEM_DOMAIN_RAW` domain, the allocator must be
487-
thread-safe: the :term:`GIL <global interpreter lock>` is not held when the
487+
thread-safe: a :term:`thread state` is not held when the
488488
allocator is called.
489489
490490
For the remaining domains, the allocator must also be thread-safe:
491491
the allocator may be called in different interpreters that do not
492-
share a ``GIL``.
492+
share a :term:`GIL`.
493493
494494
If the new allocator is not a hook (does not call the previous allocator),
495495
the :c:func:`PyMem_SetupDebugHooks` function must be called to reinstall the

0 commit comments

Comments
 (0)