Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Update docs for gh-146056
  • Loading branch information
serhiy-storchaka committed Mar 20, 2026
commit 033f34d91a98abfc4a67807670f9b2b9fec60378
6 changes: 4 additions & 2 deletions Doc/c-api/unicode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1855,8 +1855,6 @@ object.
On success, return ``0``.
On error, set an exception, leave the writer unchanged, and return ``-1``.

.. versionadded:: 3.14

.. c:function:: int PyUnicodeWriter_WriteWideChar(PyUnicodeWriter *writer, const wchar_t *str, Py_ssize_t size)

Write the wide string *str* into *writer*.
Expand Down Expand Up @@ -1892,6 +1890,10 @@ object.
On success, return ``0``.
On error, set an exception, leave the writer unchanged, and return ``-1``.

.. versionchanged:: 3.14.4

Added support for ``NULL``.

.. c:function:: int PyUnicodeWriter_WriteSubstring(PyUnicodeWriter *writer, PyObject *str, Py_ssize_t start, Py_ssize_t end)

Write the substring ``str[start:end]`` into *writer*.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Fix :meth:`!list.__repr__` for lists containing ``NULL``\ s.
Fix :func:`repr` for lists and tuples containing ``NULL``\ s.
Loading