commit | 3b718a79af900fdacaf0b825137f69eadc753765 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Thu Feb 14 12:47:33 2008 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Thu Feb 14 12:47:33 2008 +0000 |
tree | 71cbe9fcb7b94a2611e5f62cf329285270615e22 | |
parent | 50361d4d9b3e8729aa535c3dfde3d9d2ad899d47 [diff] [blame] |
Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation.
diff --git a/Doc/c-api/tuple.rst b/Doc/c-api/tuple.rst index b25adb3..1fcf5fc 100644 --- a/Doc/c-api/tuple.rst +++ b/Doc/c-api/tuple.rst
@@ -115,3 +115,10 @@ .. versionchanged:: 2.2 Removed unused third parameter, *last_is_sticky*. + + +.. cfunction:: int PyMethod_ClearFreeList(void) + + Clear the free list. Return the total number of freed items. + + .. versionadded:: 2.6