fix minor bug in pymalloc. (GH-335) (GH-476)

(cherry picked from commit f669ffff60)
This commit is contained in:
Mariatta 2017-03-06 09:15:41 -08:00 committed by GitHub
parent df6d7b406f
commit e9effe6bb6

View 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. :c:func:`PyMem_RawRealloc` for allocations larger than 512 bytes.
*pymalloc* is the default allocator of the :c:data:`PYMEM_DOMAIN_MEM` (ex: *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. :c:func:`PyObject_Malloc`) domains.
The arena allocator uses the following functions: The arena allocator uses the following functions: