[Python-checkins] python/dist/src/Doc/api newtypes.tex,1.34,1.35

theller at users.sourceforge.net theller at users.sourceforge.net
Thu Mar 24 08:45:56 CET 2005


Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2849

Modified Files:
	newtypes.tex 
Log Message:
Function signatures for tp_descr_get and tp_descr_set.


Index: newtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/newtypes.tex,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- newtypes.tex	7 Aug 2004 20:17:48 -0000	1.34
+++ newtypes.tex	24 Mar 2005 07:45:53 -0000	1.35
@@ -1106,6 +1106,13 @@
 \begin{cmemberdesc}{PyTypeObject}{descrgetfunc}{tp_descr_get}
   An optional pointer to a "descriptor get" function.
 
+
+  The function signature is
+
+\begin{verbatim}
+PyObject * tp_descr_get(PyObject *self, PyObject *obj, PyObject *type);
+\end{verbatim}
+
   XXX blah, blah.
 
   This field is inherited by subtypes.
@@ -1114,9 +1121,16 @@
 \begin{cmemberdesc}{PyTypeObject}{descrsetfunc}{tp_descr_set}
   An optional pointer to a "descriptor set" function.
 
-  XXX blah, blah.
+  The function signature is
+
+\begin{verbatim}
+int tp_descr_set(PyObject *self, PyObject *obj, PyObject *value);
+\end{verbatim}
 
   This field is inherited by subtypes.
+
+  XXX blah, blah.
+
 \end{cmemberdesc}
 
 \begin{cmemberdesc}{PyTypeObject}{long}{tp_dictoffset}



More information about the Python-checkins mailing list