diff options
author | Fred Drake <fdrake@acm.org> | 2001-12-06 20:38:15 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-12-06 20:38:15 +0000 |
commit | 32a3587345f3207c4471b7eca88be9fbb0cbc65c (patch) | |
tree | 0bd03605dc99647e12c3dc9254ed903745e6ca59 | |
parent | 62de65b25e56d01a7cd10f55576ff00eae1021fc (diff) | |
download | cpython-git-32a3587345f3207c4471b7eca88be9fbb0cbc65c.tar.gz |
Document that PyString_FromString() cannot take NULL as a parameter.
This closes SF bug #489872.
-rw-r--r-- | Doc/api/concrete.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 6c6e6f52a2..a476e3740b 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, |