mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
bpo-3329: Fix typo in PyObjectArenaAllocator doc (GH-24795)
(cherry picked from commit 0d6bd1ca7c
)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
fb3b031030
commit
ea46c7bc50
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue