mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Remove most references to __members__ and __methods__, leaving only one pair
of references that now state that these attributes have been removed, directing the reader to the dir() function. This closes SF bug #456420.
This commit is contained in:
parent
248b04383f
commit
3570551d6f
4 changed files with 10 additions and 20 deletions
|
@ -206,9 +206,9 @@ and \constant{METH_KEYWORDS} can be combined; the others can't.
|
|||
\begin{cfuncdesc}{PyObject*}{Py_FindMethod}{PyMethodDef table[],
|
||||
PyObject *ob, char *name}
|
||||
Return a bound method object for an extension type implemented in
|
||||
C. This function also handles the special attribute
|
||||
\member{__methods__}, returning a list of all the method names
|
||||
defined in \var{table}.
|
||||
C. This can be useful in the implementation of a
|
||||
\member{tp_getattro} or \member{tp_getattr} handler that does not
|
||||
use the \cfunction{PyObject_GenericGetAttr()} function.
|
||||
\end{cfuncdesc}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue