Skip to content

Commit 0d6bd1c

Browse files
authored
bpo-3329: Fix typo in PyObjectArenaAllocator doc (GH-24795)
1 parent 0554044 commit 0d6bd1c

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
@@ -555,7 +555,7 @@ Customize pymalloc Arena Allocator
555555
+--------------------------------------------------+---------------------------------------+
556556
| ``void* alloc(void *ctx, size_t size)`` | allocate an arena of size bytes |
557557
+--------------------------------------------------+---------------------------------------+
558-
| ``void free(void *ctx, size_t size, void *ptr)`` | free an arena |
558+
| ``void free(void *ctx, void *ptr, size_t size)`` | free an arena |
559559
+--------------------------------------------------+---------------------------------------+
560560
561561
.. c:function:: void PyObject_GetArenaAllocator(PyObjectArenaAllocator *allocator)

0 commit comments

Comments
 (0)