summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/api/concrete.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex
index a2dabdc65c..b6dbc5d6c8 100644
--- a/Doc/api/concrete.tex
+++ b/Doc/api/concrete.tex
@@ -664,8 +664,8 @@ parameter and are called with a non-string parameter.
\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,