We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccc56d4 commit 24129a0Copy full SHA for 24129a0
Doc/c-api/unicode.rst
@@ -608,12 +608,14 @@ APIs:
608
609
610
.. c:function:: void PyUnicode_Append(PyObject **p_left, PyObject *right)
611
-
612
Append the string *right* to the end of *p_left*.
613
- *p_left* must point to a :term:`strong reference` to a Unicode object.
+ *p_left* must point to a :term:`strong reference` to a Unicode object;
+ :c:func:`!PyUnicode_Append` releases ("steals") this reference.
614
615
On error, set *\*p_left* to ``NULL`` and set an exception.
616
617
+ On sucess, set *\*p_left* to a new strong reference to the result.
618
+
619
620
.. c:function:: void PyUnicode_AppendAndDel(PyObject **p_left, PyObject *right)
621
0 commit comments