Update docs for gh-146056 (GH-146213)

This commit is contained in:
Serhiy Storchaka 2026-03-22 09:29:04 +02:00 committed by GitHub
parent 83360b5869
commit 3776aba204
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View file

@ -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*.
@ -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*.

View file

@ -1 +1 @@
Fix :meth:`!list.__repr__` for lists containing ``NULL``\ s.
Fix :func:`repr` for lists and tuples containing ``NULL``\ s.