[Python-checkins] CVS: python/dist/src/Doc/api newtypes.tex,1.2,1.3
Fred L. Drake
fdrake@users.sourceforge.net
Mon, 03 Dec 2001 09:32:29 -0800
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv13772/api
Modified Files:
newtypes.tex
Log Message:
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.
Index: newtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/newtypes.tex,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** newtypes.tex 2001/11/17 06:39:18 1.2
--- newtypes.tex 2001/12/03 17:32:27 1.3
***************
*** 207,213 ****
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}.
\end{cfuncdesc}
--- 207,213 ----
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
! \member{tp_getattro} or \member{tp_getattr} handler that does not
! use the \cfunction{PyObject_GenericGetAttr()} function.
\end{cfuncdesc}