mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix typo in doc: avoid the french "& cie" :-)
This commit is contained in:
parent
1c3069aed6
commit
d1700a9360
2 changed files with 5 additions and 5 deletions
|
@ -378,7 +378,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_OBJ` domain
|
*pymalloc* is the default allocator of the :c:data:`PYMEM_DOMAIN_OBJ` domain
|
||||||
(:c:func:`PyObject_Malloc` & cie).
|
(ex: :c:func:`PyObject_Malloc`).
|
||||||
|
|
||||||
The arena allocator uses the following functions:
|
The arena allocator uses the following functions:
|
||||||
|
|
||||||
|
|
|
@ -628,12 +628,12 @@ conflict.
|
||||||
Set the family of memory allocators used by Python:
|
Set the family of memory allocators used by Python:
|
||||||
|
|
||||||
* ``malloc``: use the :c:func:`malloc` function of the C library
|
* ``malloc``: use the :c:func:`malloc` function of the C library
|
||||||
for all Python memory allocators (:c:func:`PyMem_RawMalloc`,
|
for all Python memory allocators (ex: :c:func:`PyMem_RawMalloc`,
|
||||||
:c:func:`PyMem_Malloc`, :c:func:`PyObject_Malloc` & cie).
|
:c:func:`PyMem_Malloc` and :c:func:`PyObject_Malloc`).
|
||||||
* ``pymalloc``: :c:func:`PyObject_Malloc`, :c:func:`PyObject_Calloc` and
|
* ``pymalloc``: :c:func:`PyObject_Malloc`, :c:func:`PyObject_Calloc` and
|
||||||
:c:func:`PyObject_Realloc` use the :ref:`pymalloc allocator <pymalloc>`.
|
:c:func:`PyObject_Realloc` use the :ref:`pymalloc allocator <pymalloc>`.
|
||||||
Other Python memory allocators (:c:func:`PyMem_RawMalloc`,
|
Other Python memory allocators (ex: :c:func:`PyMem_RawMalloc` and
|
||||||
:c:func:`PyMem_Malloc` & cie) use :c:func:`malloc`.
|
:c:func:`PyMem_Malloc`) use :c:func:`malloc`.
|
||||||
|
|
||||||
Install debug hooks:
|
Install debug hooks:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue