[Python-checkins] python/dist/src/Doc/api concrete.tex,1.66,1.67

birkenfeld@users.sourceforge.net birkenfeld at users.sourceforge.net
Wed Sep 28 14:53:15 CEST 2005


Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29275/Doc/api
Modified Files:
	concrete.tex 
Log Message:
bug [ 1306449 ] PyString_AsStringAndSize() return value documented wrong
Index: concrete.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/concrete.tex,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- concrete.tex	3 Sep 2005 07:27:26 -0000	1.66
+++ concrete.tex	28 Sep 2005 12:53:12 -0000	1.67
@@ -664,8 +664,8 @@
 \var{size})}. It must not be deallocated. If \var{string} is a
 Unicode object, this function computes the default encoding of
 \var{string} and operates on that. If \var{string} is not a string
- object at all, \cfunction{PyString_AsString()} returns \NULL{} and
- raises \exception{TypeError}.
+ object at all, \cfunction{PyString_AsStringAndSize()} returns 
+ \code{-1} and raises \exception{TypeError}.
 \end{cfuncdesc}
 
 \begin{cfuncdesc}{void}{PyString_Concat}{PyObject **string,


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /