From: Mariatta Date: Mon, 6 Mar 2017 17:15:41 +0000 (-0800) Subject: fix minor bug in pymalloc. (GH-335) (GH-476) X-Git-Tag: v3.6.2rc1~352 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9effe6bb6b6dcbc9fb13e47811a251a84a807c5;p=thirdparty%2FPython%2Fcpython.git fix minor bug in pymalloc. (GH-335) (GH-476) (cherry picked from commit f669ffff6010a94f2d441200e0fd73e9dea2883e) --- diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst index 3ff545275fb3..873fb2ac1d3c 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: