diff options
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/float.rst | 7 | ||||
-rw-r--r-- | Doc/c-api/int.rst | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/Doc/c-api/float.rst b/Doc/c-api/float.rst index bb4f74a..f705297 100644 --- a/Doc/c-api/float.rst +++ b/Doc/c-api/float.rst @@ -86,10 +86,9 @@ Floating Point Objects .. versionadded:: 2.6 -.. cfunction:: void PyFloat_CompactFreeList(size_t *bc, size_t *bf, size_t *sum) +.. cfunction:: int PyFloat_ClearFreeList(void) - Compact the float free list. *bc* is the number of allocated blocks before - blocks are freed, *bf* is the number of freed blocks and *sum* is the number - of remaining objects in the blocks. + Clear the float free list. Return the number of items that could not + be freed. .. versionadded:: 2.6 diff --git a/Doc/c-api/int.rst b/Doc/c-api/int.rst index 94bf380..ef82100 100644 --- a/Doc/c-api/int.rst +++ b/Doc/c-api/int.rst @@ -122,10 +122,9 @@ Plain Integer Objects (:const:`LONG_MAX`, as defined in the system header files). -.. cfunction:: void PyInt_CompactFreeList(size_t *bc, size_t *bf, size_t *sum) +.. cfunction:: int PyInt_ClearFreeList(void) - Compact the integer free list. *bc* is the number of allocated blocks before - blocks are freed, *bf* is the number of freed blocks and *sum* is the number - of remaining objects in the blocks. + Clear the integer free list. Return the number of items that could not + be freed. .. versionadded:: 2.6 |