mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
bpo-3329: Fix typo in PyObjectArenaAllocator doc (GH-24795)
This commit is contained in:
parent
0554044ddc
commit
0d6bd1ca7c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue