summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-03-06 17:15:41 (GMT)
committerGitHub <noreply@github.com>2017-03-06 17:15:41 (GMT)
commite9effe6bb6b6dcbc9fb13e47811a251a84a807c5 (patch)
tree556bbda02806e7ffd456239954acdd8ad1098b1c
parentdf6d7b406f3d1b2e4e2014751bfa25574c4df222 (diff)
downloadcpython-e9effe6bb6b6dcbc9fb13e47811a251a84a807c5.zip
cpython-e9effe6bb6b6dcbc9fb13e47811a251a84a807c5.tar.gz
cpython-e9effe6bb6b6dcbc9fb13e47811a251a84a807c5.tar.bz2
fix minor bug in pymalloc. (GH-335) (GH-476)
(cherry picked from commit f669ffff6010a94f2d441200e0fd73e9dea2883e)
-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: