Skip to content

Commit 56129b2

Browse files
committed
Add PyUnicode_AppendAndDel function doc
1 parent eb7a478 commit 56129b2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/c-api/unicode.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,12 @@ APIs:
615615
On error, set *p_left* to ``NULL`` and set an exception.
616616
617617
618+
.. c:function:: void PyUnicode_AppendAndDel(PyObject **p_left, PyObject *right)
619+
620+
The function is identical to :c:func:`PyUnicode_Append`, with the only
621+
difference being that it decrements the reference count of *right* by one.
622+
623+
618624
.. c:function:: const char* PyUnicode_GetDefaultEncoding(void)
619625
620626
Return the name of the default string encoding, ``"utf-8"``.

0 commit comments

Comments
 (0)