8000 gh-46236: Add missing PyUnicode_Append() doc by rruuaanng · Pull Request #130531 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-46236: Add missing PyUnicode_Append() doc #130531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 11, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change doc
  • Loading branch information
rruuaanng committed Mar 1, 2025
commit ccc56d4c03433b21dc04374963279acee97781e7
4 changes: 2 additions & 2 deletions Doc/c-api/unicode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -612,12 +612,12 @@ APIs:
Append the string *right* to the end of *p_left*.
*p_left* must point to a :term:`strong reference` to a Unicode object.

On error, set *p_left* to ``NULL`` (*stealing* the reference) and set an exception.
On error, set *\*p_left* to ``NULL`` and set an exception.


.. c:function:: void PyUnicode_AppendAndDel(PyObject **p_left, PyObject *right)

The function is identical to :c:func:`PyUnicode_Append`, with the only
The function is similar to :c:func:`PyUnicode_Append`, with the only
difference being that it decrements the reference count of *right* by one.


Expand Down
Loading
0