diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst index efddc6f7be5..0746d9ac52a 100644 --- a/Doc/c-api/memory.rst +++ b/Doc/c-api/memory.rst @@ -488,7 +488,7 @@ Customize Memory Allocators Debug hooks on the Python memory allocators =========================================== -When :ref:`Python is built is debug mode `, the +When :ref:`Python is built in debug mode `, the :c:func:`PyMem_SetupDebugHooks` function is called at the :ref:`Python preinitialization ` to setup debug hooks on Python memory allocators to detect memory errors.