Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typo
  • Loading branch information
vstinner committed Jul 27, 2023
commit 67e91d245e2a6f4dfaead564bc0431d5562bb3db
2 changes: 1 addition & 1 deletion Doc/c-api/memory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down