From 67e91d245e2a6f4dfaead564bc0431d5562bb3db Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 27 Jul 2023 02:34:03 +0200 Subject: [PATCH] Fix typo --- Doc/c-api/memory.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst index 5cac2cff9a84e4..33071c937c25ad 100644 --- a/Doc/c-api/memory.rst +++ b/Doc/c-api/memory.rst @@ -264,7 +264,7 @@ The following type-oriented macros are provided for convenience. Note that *TYPE* refers to any C type. -.. c:mcaro:: PyMem_New(TYPE, n) +.. c:macro:: PyMem_New(TYPE, n) Same as :c:func:`PyMem_Malloc`, but allocates ``(n * sizeof(TYPE))`` bytes of memory. Returns a pointer cast to :c:expr:`TYPE*`. The memory will not have