10000 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. 8000
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 authored Feb 26, 2025
commit eb7a478b3a729d1dd991e1f2a9792de47b544326
6 changes: 4 additions & 2 deletions Doc/c-api/unicode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,10 @@ APIs:

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

Append the string *right* to the end of *p_left*. (In particular, a :exc:`SystemError`
if *p_left* or *right* is ``NULL``, or if either is not a Unicode object).
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`` and set an exception.


.. c:function:: const char* PyUnicode_GetDefaultEncoding(void)
Expand Down
Loading
0