summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-03-09 11:16:42 (GMT)
committerGitHub <noreply@github.com>2021-03-09 11:16:42 (GMT)
commit0d6bd1ca7c683137d52041194f3a2b02219f225a (patch)
tree641cc4668e460612c8f830f798cdc3ee589fbd21
parent0554044ddccdb7bf1fa4a8bc880e7a7b59f6479c (diff)
downloadcpython-0d6bd1ca7c683137d52041194f3a2b02219f225a.zip
cpython-0d6bd1ca7c683137d52041194f3a2b02219f225a.tar.gz
cpython-0d6bd1ca7c683137d52041194f3a2b02219f225a.tar.bz2
bpo-3329: Fix typo in PyObjectArenaAllocator doc (GH-24795)
-rw-r--r--Doc/c-api/memory.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst
index 588668e..d2d212b 100644
--- a/Doc/c-api/memory.rst
+++ b/Doc/c-api/memory.rst
@@ -555,7 +555,7 @@ Customize pymalloc Arena Allocator
+--------------------------------------------------+---------------------------------------+
| ``void* alloc(void *ctx, size_t size)`` | allocate an arena of size bytes |
+--------------------------------------------------+---------------------------------------+
- | ``void free(void *ctx, size_t size, void *ptr)`` | free an arena |
+ | ``void free(void *ctx, void *ptr, size_t size)`` | free an arena |
+--------------------------------------------------+---------------------------------------+
.. c:function:: void PyObject_GetArenaAllocator(PyObjectArenaAllocator *allocator)