commit | 093ce9cd8c6e4287bffac9d9519d5159d788a008 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Dec 16 11:24:27 2011 +0100 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Dec 16 11:24:27 2011 +0100 |
tree | 2b8bba612cf0390e8a5b098d2fbf88382c909940 | |
parent | c144a93e987600196aaf5e8ec65a5eac76af29cd [diff] [blame] |
Issue #6695: Full garbage collection runs now clear the freelist of set objects. Initial patch by Matthias Troffaes.
diff --git a/Doc/c-api/set.rst b/Doc/c-api/set.rst index 66b47c4..5f0ef90 100644 --- a/Doc/c-api/set.rst +++ b/Doc/c-api/set.rst
@@ -157,3 +157,10 @@ .. 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