mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
#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:
parent
1f900f1f69
commit
87ce6d70ed
3 changed files with 12 additions and 32 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue