From cece5e7cdd9a29c8e2c168a9b961406e53b9c4b3 Mon Sep 17 00:00:00 2001 From: Manoj K M Date: Sun, 25 Oct 2026 13:58:39 +0000 Subject: [PATCH 1/2] Fix 2 typos in interp-lifecycle.rst --- Doc/c-api/interp-lifecycle.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/c-api/interp-lifecycle.rst b/Doc/c-api/interp-lifecycle.rst index a4a5a53a620b061..48a051a27317ddd 100644 --- a/Doc/c-api/interp-lifecycle.rst +++ b/Doc/c-api/interp-lifecycle.rst @@ -48,7 +48,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: @@ -491,7 +490,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 From 7c87e34327bde1c8c2430b240beefc41009685eb Mon Sep 17 00:00:00 2001 From: Manoj K M Date: Mon, 26 Oct 2026 02:37:05 +0000 Subject: [PATCH 2/2] Fix wrong enum value in init_config.rst --- 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 b0155b444b7bbbf..45b3be77a5036d6 100644 --- a/Doc/c-api/init_config.rst +++ b/Doc/c-api/init_config.rst @@ -889,9 +889,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 `.