#3247: get rid of Py_FindMethods

Remove references in documentation;
also rewrite a paragraph that looked off-topic to me.
This commit is contained in:
Amaury Forgeot d'Arc 2008-07-02 22:59:48 +00:00
parent 1f900f1f69
commit 87ce6d70ed
3 changed files with 12 additions and 32 deletions

View file

@ -198,9 +198,3 @@ definition with the same method name.
object and will co-exist with the slot. This is helpful because calls to
PyCFunctions are optimized more than wrapper object calls.
.. cfunction:: PyObject* Py_FindMethod(PyMethodDef table[], PyObject *ob, char *name)
Return a bound method object for an extension type implemented in C. This can
be useful in the implementation of a :attr:`tp_getattro` or :attr:`tp_getattr`
handler that does not use the :cfunc:`PyObject_GenericGetAttr` function.