summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2017-02-27 13:42:37 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-02-27 13:42:37 (GMT)
commitf669ffff6010a94f2d441200e0fd73e9dea2883e (patch)
treece8385d6fdb7e030554b9a678eb6273e7cf8706a /Doc/c-api
parent210d6a9f951b621b095bc5b72821cf60198ffea8 (diff)
downloadcpython-f669ffff6010a94f2d441200e0fd73e9dea2883e.zip
cpython-f669ffff6010a94f2d441200e0fd73e9dea2883e.tar.gz
cpython-f669ffff6010a94f2d441200e0fd73e9dea2883e.tar.bz2
fix minor bug in pymalloc. (#335)
reported by Alexis Lopez-Garcia.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/memory.rst2
1 files changed, 1 insertions, 1 deletions
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 @@ 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: