[Python-checkins] CVS: python/dist/src/Doc/ext ext.tex,1.93,1.94
Fred L. Drake
fdrake@usw-pr-cvs1.sourceforge.net
Mon, 12 Mar 2001 13:06:34 -0800
Update of /cvsroot/python/python/dist/src/Doc/ext
In directory usw-pr-cvs1:/tmp/cvs-serv11895/ext
Modified Files:
ext.tex
Log Message:
Py_BuildValue(): Add "D" conversion to create a Python complex value from
a Py_complex C value.
Patch by Walter Dörwald.
This closes SF patch #407148.
Index: ext.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ext/ext.tex,v
retrieving revision 1.93
retrieving revision 1.94
diff -C2 -r1.93 -r1.94
*** ext.tex 2001/03/02 19:48:06 1.93
--- ext.tex 2001/03/12 21:06:31 1.94
***************
*** 1129,1132 ****
--- 1129,1135 ----
Same as \samp{d}.
+ \item[\samp{D} (complex) {[Py_complex *]}]
+ Convert a C \ctype{Py_complex} structure to a Python complex number.
+
\item[\samp{O} (object) {[PyObject *]}]
Pass a Python object untouched (except for its reference count, which