@@ -81,7 +81,7 @@ memory footprint as a whole. Consequently, under certain circumstances, the
8181Python memory manager may or may not trigger appropriate actions, like garbage
8282collection, memory compaction or other preventive procedures. Note that by using
8383the C library allocator as shown in the previous example, the allocated memory
84- for the I/O buffer escapes completely the Python memory manager.
84+ for the I/O buffer completely escapes the Python memory manager.
8585
8686.. seealso ::
8787
@@ -161,7 +161,7 @@ zero bytes.
161161
162162.. c:function:: void* PyMem_RawCalloc(size_t nelem, size_t elsize)
163163
164- Allocates *nelem* elements each whose size in bytes is *elsize* and returns
164+ Allocates *nelem* elements each of size *elsize* bytes and returns
165165 a pointer of type :c:expr:`void*` to the allocated memory, or ``NULL`` if the
166166 request fails. The memory is initialized to zeros.
167167
@@ -232,7 +232,7 @@ The :ref:`default memory allocator <default-memory-allocators>` uses the
232232
233233.. c:function:: void* PyMem_Calloc(size_t nelem, size_t elsize)
234234
235- Allocates *nelem* elements each whose size in bytes is *elsize* and returns
235+ Allocates *nelem* elements each of size *elsize* bytes and returns
236236 a pointer of type :c:expr:`void*` to the allocated memory, or ``NULL`` if the
237237 request fails. The memory is initialized to zeros.
238238
@@ -364,7 +364,7 @@ The :ref:`default object allocator <default-memory-allocators>` uses the
364364
365365.. c:function:: void* PyObject_Calloc(size_t nelem, size_t elsize)
366366
367- Allocates *nelem* elements each whose size in bytes is *elsize* and returns
367+ Allocates *nelem* elements each of size *elsize* bytes and returns
368368 a pointer of type :c:expr:`void*` to the allocated memory, or ``NULL`` if the
369369 request fails. The memory is initialized to zeros.
370370
0 commit comments