[Python-checkins] python/dist/src/Doc/api concrete.tex, 1.58.2.3, 1.58.2.4

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


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

Modified Files:
      Tag: release24-maint
	concrete.tex 
Log Message:
backport of bugfix [ 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.58.2.3
retrieving revision 1.58.2.4
diff -u -d -r1.58.2.3 -r1.58.2.4
--- concrete.tex	3 Sep 2005 07:27:37 -0000	1.58.2.3
+++ concrete.tex	28 Sep 2005 12:53:22 -0000	1.58.2.4
@@ -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