Fix a small typo in the docs (GH-26991) (GH-27003)
(cherry picked from commit a79e2b6497f7d31017c01a41a290a9b3349398fe)
Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst
index efddc6f..0746d9a 100644
--- a/Doc/c-api/memory.rst
+++ b/Doc/c-api/memory.rst
@@ -488,7 +488,7 @@
Debug hooks on the Python memory allocators
===========================================
-When :ref:`Python is built is debug mode <debug-build>`, the
+When :ref:`Python is built in debug mode <debug-build>`, the
:c:func:`PyMem_SetupDebugHooks` function is called at the :ref:`Python
preinitialization <c-preinit>` to setup debug hooks on Python memory allocators
to detect memory errors.