Skip to content

Commit 46fdbab

Browse files
committed
Address more feedback
1 parent 8b45881 commit 46fdbab

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

Doc/c-api/memory.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,9 @@ The following function sets, modeled after the ANSI C standard, but specifying
204204
behavior when requesting zero bytes, are available for allocating and releasing
205205
memory from the Python heap.
206206
207-
The :ref:`default memory allocator <default-memory-allocators>` uses the
208-
:ref:`pymalloc memory allocator <pymalloc>`. In the
207+
In the GIL-enabled build (default build) the
208+
:ref:`default memory allocator <default-memory-allocators>` uses the
209+
:ref:`pymalloc memory allocator <pymalloc>`, whereas in the
209210
:term:`free-threaded build`, the default is the
210211
:ref:`mimalloc memory allocator <mimalloc>` instead.
211212

Doc/using/cmdline.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,12 +1086,6 @@ conflict.
10861086
.. versionchanged:: 3.7
10871087
Added the ``"default"`` allocator.
10881088

1089-
.. versionchanged:: 3.13
1090-
Added the ``"mimalloc"`` and ``"mimalloc_debug"`` allocators.
1091-
In the :term:`free-threaded <free threading>` build, the ``"malloc"``,
1092-
``"malloc_debug"``, ``"pymalloc"``, and ``"pymalloc_debug"`` values are
1093-
not accepted.
1094-
10951089

10961090
.. envvar:: PYTHONMALLOCSTATS
10971091

0 commit comments

Comments
 (0)