Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d1700a9

Browse files
committed
Fix typo in doc: avoid the french "& cie" :-)
1 parent 1c3069a commit d1700a9

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/c-api/memory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ with a fixed size of 256 KB. It falls back to :c:func:`PyMem_RawMalloc` and
378378
:c:func:`PyMem_RawRealloc` for allocations larger than 512 bytes.
379379
380380
*pymalloc* is the default allocator of the :c:data:`PYMEM_DOMAIN_OBJ` domain
381-
(:c:func:`PyObject_Malloc` & cie).
381+
(ex: :c:func:`PyObject_Malloc`).
382382
383383
The arena allocator uses the following functions:
384384

Doc/using/cmdline.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -628,12 +628,12 @@ conflict.
628628
Set the family of memory allocators used by Python:
629629

630630
* ``malloc``: use the :c:func:`malloc` function of the C library
631-
for all Python memory allocators (:c:func:`PyMem_RawMalloc`,
632-
:c:func:`PyMem_Malloc`, :c:func:`PyObject_Malloc` & cie).
631+
for all Python memory allocators (ex: :c:func:`PyMem_RawMalloc`,
632+
:c:func:`PyMem_Malloc` and :c:func:`PyObject_Malloc`).
633633
* ``pymalloc``: :c:func:`PyObject_Malloc`, :c:func:`PyObject_Calloc` and
634634
:c:func:`PyObject_Realloc` use the :ref:`pymalloc allocator <pymalloc>`.
635-
Other Python memory allocators (:c:func:`PyMem_RawMalloc`,
636-
:c:func:`PyMem_Malloc` & cie) use :c:func:`malloc`.
635+
Other Python memory allocators (ex: :c:func:`PyMem_RawMalloc` and
636+
:c:func:`PyMem_Malloc`) use :c:func:`malloc`.
637637

638638
Install debug hooks:
639639

0 commit comments

Comments
 (0)