File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -265,14 +265,14 @@ The following type-oriented macros are provided for convenience. Note that
265265.. c :function :: TYPE* PyMem_New (TYPE, size_t n)
266266
267267 Same as :c:func:`PyMem_Malloc`, but allocates ``(n * sizeof(TYPE))`` bytes of
268- memory. Returns a pointer cast to :c:type :`TYPE*`. The memory will not have
268+ memory. Returns a pointer cast to :c:expr :`TYPE*`. The memory will not have
269269 been initialized in any way.
270270
271271
272272.. c:function:: TYPE* PyMem_Resize(void *p, TYPE, size_t n)
273273
274274 Same as :c:func: `PyMem_Realloc `, but the memory block is resized to ``(n *
275- sizeof(TYPE)) `` bytes. Returns a pointer cast to :c:type : `TYPE* `. On return,
275+ sizeof(TYPE)) `` bytes. Returns a pointer cast to :c:expr : `TYPE* `. On return,
276276 *p * will be a pointer to the new memory area, or ``NULL `` in the event of
277277 failure.
278278
You can’t perform that action at this time.
0 commit comments