mirror of
https://github.com/python/cpython.git
synced 2024-11-28 04:15:11 +08:00
Fix typo in doc: avoid the french "& cie" :-)
This commit is contained in:
parent
1c3069aed6
commit
d1700a9360
@ -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.
|
||||
|
||||
*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:
|
||||
|
||||
|
@ -628,12 +628,12 @@ conflict.
|
||||
Set the family of memory allocators used by Python:
|
||||
|
||||
* ``malloc``: use the :c:func:`malloc` function of the C library
|
||||
for all Python memory allocators (:c:func:`PyMem_RawMalloc`,
|
||||
:c:func:`PyMem_Malloc`, :c:func:`PyObject_Malloc` & cie).
|
||||
for all Python memory allocators (ex: :c:func:`PyMem_RawMalloc`,
|
||||
:c:func:`PyMem_Malloc` and :c:func:`PyObject_Malloc`).
|
||||
* ``pymalloc``: :c:func:`PyObject_Malloc`, :c:func:`PyObject_Calloc` and
|
||||
:c:func:`PyObject_Realloc` use the :ref:`pymalloc allocator <pymalloc>`.
|
||||
Other Python memory allocators (:c:func:`PyMem_RawMalloc`,
|
||||
:c:func:`PyMem_Malloc` & cie) use :c:func:`malloc`.
|
||||
Other Python memory allocators (ex: :c:func:`PyMem_RawMalloc` and
|
||||
:c:func:`PyMem_Malloc`) use :c:func:`malloc`.
|
||||
|
||||
Install debug hooks:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user