]> granicus.if.org Git - python/commitdiff
fix minor bug in pymalloc. (#335)
authorINADA Naoki <methane@users.noreply.github.com>
Mon, 27 Feb 2017 13:42:37 +0000 (22:42 +0900)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 27 Feb 2017 13:42:37 +0000 (14:42 +0100)
reported by Alexis Lopez-Garcia.

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: