Commit 29844caf authored by Fred Drake's avatar Fred Drake

Be explicit about the reference count of the original value of the

first parameter to PyString_Concat().
parent 800d6ac5
......@@ -1737,8 +1737,12 @@ Resturns a \NULL{} terminated representation of the contents of \var{string}.
\begin{cfuncdesc}{void}{PyString_Concat}{PyObject **string,
PyObject *newpart}
Creates a new string object in \var{*string} containing the contents
of \var{newpart} appended to \var{string}.
Creates a new string object in \var{*string} containing the
contents of \var{newpart} appended to \var{string}. The old value of
\var{string} have its reference count decremented. If the new string
cannot be created, the old reference to \var{string} will still be
discarded and the value of \var{*string} will be set to
\NULL{}; the appropriate exception will be set.
\end{cfuncdesc}
\begin{cfuncdesc}{void}{PyString_ConcatAndDel}{PyObject **string,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment