From: INADA Naoki Date: Mon, 27 Feb 2017 13:42:37 +0000 (+0900) Subject: fix minor bug in pymalloc. (#335) X-Git-Tag: v3.7.0a1~1265 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f669ffff6010a94f2d441200e0fd73e9dea2883e;p=python fix minor bug in pymalloc. (#335) reported by Alexis Lopez-Garcia. --- diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst index 3ff545275f..873fb2ac1d 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: