https://github.com/python/cpython/commit/3acef6a1fb4bb2182a85d400994baee00dd00443
commit: 3acef6a1fb4bb2182a85d400994baee00dd00443
branch: 3.14
author: Manoj K M <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-10-27T09:06:45Z
summary:

[3.14] Docs: Fix mimalloc allocator values and typos in C API init docs 
(GH-160666) (#160741)

(cherry picked from commit 210e7ab2a581af5d106c5b648db0a6f9535004aa)

files:
M Doc/c-api/init_config.rst

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 <pymalloc>` with :ref:`debug hooks
         <pymem-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 <pymem-debug-hooks>`.
 
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to