Skip to content

Commit 5ca02c4

Browse files
bpo-3329: Fix typo in PyObjectArenaAllocator doc (GH-24795)
(cherry picked from commit 0d6bd1c) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 6d42733 commit 5ca02c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/memory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ Customize pymalloc Arena Allocator
516516
+--------------------------------------------------+---------------------------------------+
517517
| ``void* alloc(void *ctx, size_t size)`` | allocate an arena of size bytes |
518518
+--------------------------------------------------+---------------------------------------+
519-
| ``void free(void *ctx, size_t size, void *ptr)`` | free an arena |
519+
| ``void free(void *ctx, void *ptr, size_t size)`` | free an arena |
520520
+--------------------------------------------------+---------------------------------------+
521521
522522
.. c:function:: void PyObject_GetArenaAllocator(PyObjectArenaAllocator *allocator)

0 commit comments

Comments
 (0)