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 `. 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