summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/method.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/method.rst')
-rw-r--r--Doc/c-api/method.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/c-api/method.rst b/Doc/c-api/method.rst
index 9d25571..9ee49ba 100644
--- a/Doc/c-api/method.rst
+++ b/Doc/c-api/method.rst
@@ -92,3 +92,9 @@ no longer available.
.. cfunction:: PyObject* PyMethod_GET_SELF(PyObject *meth)
Macro version of :cfunc:`PyMethod_Self` which avoids error checking.
+
+
+.. cfunction:: int PyMethod_ClearFreeList(void)
+
+ Clear the free list. Return the total number of freed items.
+