https://github.com/python/cpython/commit/d7bcaf24f63be387e0e6989f01dc07cb26aff809
commit: d7bcaf24f63be387e0e6989f01dc07cb26aff809
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-10-26T15:27:10Z
summary:

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

(cherry picked from commit 210e7ab2a581af5d106c5b648db0a6f9535004aa)

Co-authored-by: Manoj K M <[email protected]>

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

diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst
index 538c7c07908166e..9774ec8784921ed 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>`.
 
 
diff --git a/Doc/c-api/interp-lifecycle.rst b/Doc/c-api/interp-lifecycle.rst
index 1f851a89f13d1ad..fbc96d810ab3eff 100644
--- a/Doc/c-api/interp-lifecycle.rst
+++ b/Doc/c-api/interp-lifecycle.rst
@@ -51,7 +51,6 @@ The following functions can be safely called before Python is 
initialized:
   * :c:func:`Py_GetCopyright`
   * :c:func:`Py_GetPlatform`
   * :c:func:`Py_GetVersion`
-  * :c:func:`Py_IsInitialized`
 
 * Utilities:
 
@@ -762,7 +761,7 @@ deleted. This can be done using interpreter views.
 
    An opaque view of an interpreter.
 
-   This is a thread-safe way to access an interpreter that may have be
+   This is a thread-safe way to access an interpreter that may be
    finalizing or already destroyed.
 
    .. versionadded:: 3.15

_______________________________________________
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