summaryrefslogtreecommitdiff
path: root/Doc/c-api/set.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/set.rst')
-rw-r--r--Doc/c-api/set.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/c-api/set.rst b/Doc/c-api/set.rst
index 66b47c4f71..5f0ef90869 100644
--- a/Doc/c-api/set.rst
+++ b/Doc/c-api/set.rst
@@ -157,3 +157,10 @@ subtypes but not for instances of :class:`frozenset` or its subtypes.
.. c:function:: int PySet_Clear(PyObject *set)
Empty an existing set of all elements.
+
+
+.. c:function:: int PySet_ClearFreeList()
+
+ Clear the free list. Return the total number of freed items.
+
+ .. versionadded:: 3.3