mirror of
https://github.com/python/cpython.git
synced 2025-10-01 21:02:15 +00:00
fix minor bug in pymalloc. (GH-335) (GH-476)
(cherry picked from commit f669ffff60
)
This commit is contained in:
parent
df6d7b406f
commit
e9effe6bb6
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue