]> granicus.if.org Git - python/commitdiff
fix minor bug in pymalloc. (GH-335) (GH-476)
authorMariatta <Mariatta@users.noreply.github.com>
Mon, 6 Mar 2017 17:15:41 +0000 (09:15 -0800)
committerGitHub <noreply@github.com>
Mon, 6 Mar 2017 17:15:41 +0000 (09:15 -0800)
(cherry picked from commit f669ffff6010a94f2d441200e0fd73e9dea2883e)

Doc/c-api/memory.rst

index 3ff545275fb3b8a6f3f8369e4cb427552a489e5c..873fb2ac1d3cad8306b4218429b12e0e09c084ef 100644 (file)
@@ -391,7 +391,7 @@ with a fixed size of 256 KB. It falls back to :c:func:`PyMem_RawMalloc` and
 :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: