[Python-checkins] CVS: python/dist/src/Doc/api api.tex,1.117.2.10,1.117.2.11
Fred L. Drake
fdrake@users.sourceforge.net
2001年12月06日 12:38:17 -0800
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv21694
Modified Files:
Tag: release21-maint
api.tex
Log Message:
Document that PyString_FromString() cannot take NULL as a parameter.
This closes SF bug #489872.
Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.117.2.10
retrieving revision 1.117.2.11
diff -C2 -d -r1.117.2.10 -r1.117.2.11
*** api.tex 2001年07月14日 03:07:55 1.117.2.10
--- api.tex 2001年12月06日 20:38:15 1.117.2.11
***************
*** 2458,2462 ****
\begin{cfuncdesc}{PyObject*}{PyString_FromString}{const char *v}
Returns a new string object with the value \var{v} on success, and
! \NULL{} on failure.
\end{cfuncdesc}
--- 2458,2463 ----
\begin{cfuncdesc}{PyObject*}{PyString_FromString}{const char *v}
Returns a new string object with the value \var{v} on success, and
! \NULL{} on failure. The parameter \var{v} must not be \NULL; it
! will not be checked.
\end{cfuncdesc}