[Python-checkins] cpython: Fix typo in doc: avoid the french "& cie" :-)

victor.stinner python-checkins at python.org
Wed Mar 23 11:58:04 EDT 2016


https://hg.python.org/cpython/rev/d079a13d1657
changeset:   100693:d079a13d1657
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Mar 23 16:57:51 2016 +0100
summary:
  Fix typo in doc: avoid the french "& cie" :-)

files:
  Doc/c-api/memory.rst  |  2 +-
  Doc/using/cmdline.rst |  8 ++++----
  2 files changed, 5 insertions(+), 5 deletions(-)


diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst
--- a/Doc/c-api/memory.rst
+++ b/Doc/c-api/memory.rst
@@ -378,7 +378,7 @@
 :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:
 
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -628,12 +628,12 @@
    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:
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list