@@ -77,7 +77,7 @@ memory footprint as a whole. Consequently, under certain circumstances, the
7777Python memory manager may or may not trigger appropriate actions, like garbage
7878collection, memory compaction or other preventive procedures. Note that by using
7979the C library allocator as shown in the previous example, the allocated memory
80- for the I/O buffer escapes completely the Python memory manager.
80+ for the I/O buffer completely escapes the Python memory manager.
8181
8282.. seealso ::
8383
@@ -157,7 +157,7 @@ zero bytes.
157157
158158.. c:function:: void* PyMem_RawCalloc(size_t nelem, size_t elsize)
159159
160- Allocates *nelem* elements each whose size in bytes is *elsize* and returns
160+ Allocates *nelem* elements each of size *elsize* bytes and returns
161161 a pointer of type :c:expr:`void*` to the allocated memory, or ``NULL`` if the
162162 request fails. The memory is initialized to zeros.
163163
@@ -235,7 +235,7 @@ In the GIL-enabled build (default build) the
235235
236236.. c:function:: void* PyMem_Calloc(size_t nelem, size_t elsize)
237237
238- Allocates *nelem* elements each whose size in bytes is *elsize* and returns
238+ Allocates *nelem* elements each of size *elsize* bytes and returns
239239 a pointer of type :c:expr:`void*` to the allocated memory, or ``NULL`` if the
240240 request fails. The memory is initialized to zeros.
241241
@@ -368,7 +368,7 @@ The :ref:`default object allocator <default-memory-allocators>` uses the
368368
369369.. c:function:: void* PyObject_Calloc(size_t nelem, size_t elsize)
370370
371- Allocates *nelem* elements each whose size in bytes is *elsize* and returns
371+ Allocates *nelem* elements each of size *elsize* bytes and returns
372372 a pointer of type :c:expr:`void*` to the allocated memory, or ``NULL`` if the
373373 request fails. The memory is initialized to zeros.
374374
0 commit comments