From dd0b303b5fae107f8ce8d8e8f70c4e2121f9f72f Mon Sep 17 00:00:00 2001 From: Manoj K M Date: Mon, 26 Oct 2026 20:34:54 +0530 Subject: [PATCH] [3.14] Docs: Fix mimalloc allocator values and typos in C API init docs (GH-160666) (cherry picked from commit 210e7ab2a581af5d106c5b648db0a6f9535004aa) Co-authored-by: Manoj K M --- Doc/c-api/init_config.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst index 435dec10c6ecc38..3c3edb68f1f6387 100644 --- a/Doc/c-api/init_config.rst +++ b/Doc/c-api/init_config.rst @@ -880,9 +880,9 @@ PyPreConfig * ``PYMEM_ALLOCATOR_PYMALLOC_DEBUG`` (``6``): :ref:`Python pymalloc memory allocator ` with :ref:`debug hooks `. - * ``PYMEM_ALLOCATOR_MIMALLOC`` (``6``): use ``mimalloc``, a fast + * ``PYMEM_ALLOCATOR_MIMALLOC`` (``7``): use ``mimalloc``, a fast malloc replacement. - * ``PYMEM_ALLOCATOR_MIMALLOC_DEBUG`` (``7``): use ``mimalloc``, a fast + * ``PYMEM_ALLOCATOR_MIMALLOC_DEBUG`` (``8``): use ``mimalloc``, a fast malloc replacement with :ref:`debug hooks `.