diff options
author | Fred Drake <fdrake@acm.org> | 2001-12-06 20:38:15 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-12-06 20:38:15 (GMT) |
commit | 32a3587345f3207c4471b7eca88be9fbb0cbc65c (patch) | |
tree | 0bd03605dc99647e12c3dc9254ed903745e6ca59 /Doc | |
parent | 62de65b25e56d01a7cd10f55576ff00eae1021fc (diff) | |
download | cpython-32a3587345f3207c4471b7eca88be9fbb0cbc65c.zip cpython-32a3587345f3207c4471b7eca88be9fbb0cbc65c.tar.gz cpython-32a3587345f3207c4471b7eca88be9fbb0cbc65c.tar.bz2 |
Document that PyString_FromString() cannot take NULL as a parameter.
This closes SF bug #489872.
Diffstat (limited to 'Doc')
-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 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, |