From 32a3587345f3207c4471b7eca88be9fbb0cbc65c Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 6 Dec 2001 20:38:15 +0000 Subject: Document that PyString_FromString() cannot take NULL as a parameter. This closes SF bug #489872. --- Doc/api/concrete.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 6c6e6f5..a476e37 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -463,7 +463,8 @@ parameter and are called with a non-string parameter. \begin{cfuncdesc}{PyObject*}{PyString_FromString}{const char *v} Returns a new string object with the value \var{v} on success, and - \NULL{} on failure. + \NULL{} on failure. The parameter \var{v} must not be \NULL; it + will not be checked. \end{cfuncdesc} \begin{cfuncdesc}{PyObject*}{PyString_FromStringAndSize}{const char *v, -- cgit v0.12