summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-02 22:59:48 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-02 22:59:48 (GMT)
commit87ce6d70edcdb74c3baef9ca589542282bc0adf0 (patch)
treee09e0c15ad8fc2dcb45d0be260cb5b1da7961000 /Doc/c-api
parent1f900f1f69c93e409595f34a6da9e2b10e331421 (diff)
downloadcpython-87ce6d70edcdb74c3baef9ca589542282bc0adf0.zip
cpython-87ce6d70edcdb74c3baef9ca589542282bc0adf0.tar.gz
cpython-87ce6d70edcdb74c3baef9ca589542282bc0adf0.tar.bz2
#3247: get rid of Py_FindMethods
Remove references in documentation; also rewrite a paragraph that looked off-topic to me.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/structures.rst6
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst
index 5079e0d..04fe8f4 100644
--- a/Doc/c-api/structures.rst
+++ b/Doc/c-api/structures.rst
@@ -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.