fix minor bug in pymalloc. (GH-335) (GH-476)

(cherry picked from commit f669ffff6010a94f2d441200e0fd73e9dea2883e)
diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst
index 3ff5452..873fb2a 100644
--- a/Doc/c-api/memory.rst
+++ b/Doc/c-api/memory.rst
@@ -391,7 +391,7 @@
 :c:func:`PyMem_RawRealloc` for allocations larger than 512 bytes.
 
 *pymalloc* is the default allocator of the :c:data:`PYMEM_DOMAIN_MEM` (ex:
-:c:func:`PyObject_Malloc`) and :c:data:`PYMEM_DOMAIN_OBJ` (ex:
+:c:func:`PyMem_Malloc`) and :c:data:`PYMEM_DOMAIN_OBJ` (ex:
 :c:func:`PyObject_Malloc`) domains.
 
 The arena allocator uses the following functions: