https://github.com/python/cpython/commit/210e7ab2a581af5d106c5b648db0a6f9535004aa
commit: 210e7ab2a581af5d106c5b648db0a6f9535004aa
branch: main
author: Manoj K M <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-10-26T15:04:54Z
summary:
Docs: Fix mimalloc allocator values and typos in C API init docs (#160666)
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 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 <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 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
_______________________________________________
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]