bpo-3329: Fix typo in PyObjectArenaAllocator doc (GH-24795)

This commit is contained in:
Victor Stinner 2021-03-09 12:16:42 +01:00 committed by GitHub
parent 0554044ddc
commit 0d6bd1ca7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)