]> granicus.if.org Git - python/commitdiff
Fix typo in doc: avoid the french "& cie" :-)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 23 Mar 2016 15:57:51 +0000 (16:57 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 23 Mar 2016 15:57:51 +0000 (16:57 +0100)
Doc/c-api/memory.rst
Doc/using/cmdline.rst

index c2e244202cd6861fd37156d2c5c0ef8f50097eca..bd0bc12176d6185397943f6beade4be09e1d6796 100644 (file)
@@ -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:
 
index 7ff9361ce02fde1ea3fa0136eb764c5b5177085a..c1c700cc4bb34c6c2404fa2b436e3e22a84a5a9c 100644 (file)
@@ -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: