diff options
Diffstat (limited to 'Doc/c-api/method.rst')
| -rw-r--r-- | Doc/c-api/method.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/c-api/method.rst b/Doc/c-api/method.rst index f20f14c..c104f89 100644 --- a/Doc/c-api/method.rst +++ b/Doc/c-api/method.rst @@ -63,3 +63,10 @@ There are some useful functions that are useful for working with method objects. .. 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. + + .. versionadded:: 2.6 |
