File tree 1 file changed +2
-2
lines changed
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
265
265
.. c :function :: TYPE* PyMem_New (TYPE, size_t n)
266
266
267
267
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
269
269
been initialized in any way.
270
270
271
271
272
272
.. c:function:: TYPE* PyMem_Resize(void *p, TYPE, size_t n)
273
273
274
274
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,
276
276
*p * will be a pointer to the new memory area, or ``NULL `` in the event of
277
277
failure.
278
278
You can’t perform that action at this time.
0 commit comments