summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-12-03 17:32:27 (GMT)
committerFred Drake <fdrake@acm.org>2001-12-03 17:32:27 (GMT)
commit3570551d6f47dbd2c0cb06a197e4f86701998243 (patch)
tree35a0a4000ba4bba43e6b6cad9e3528ab3bb51075 /Doc/api
parent248b04383fafdb126794e989a2c023a16eb0f429 (diff)
downloadcpython-3570551d6f47dbd2c0cb06a197e4f86701998243.zip
cpython-3570551d6f47dbd2c0cb06a197e4f86701998243.tar.gz
cpython-3570551d6f47dbd2c0cb06a197e4f86701998243.tar.bz2
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.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/newtypes.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/api/newtypes.tex b/Doc/api/newtypes.tex
index 9bc18e2..8ab8e3c 100644
--- a/Doc/api/newtypes.tex
+++ b/Doc/api/newtypes.tex
@@ -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}