Skip to content

Commit c8b634e

Browse files
Add versionchanged.
1 parent b6751c1 commit c8b634e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Doc/c-api/unicode.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,8 +1842,6 @@ object.
18421842
On success, return ``0``.
18431843
On error, set an exception, leave the writer unchanged, and return ``-1``.
18441844
1845-
.. versionadded:: 3.14
1846-
18471845
.. c:function:: int PyUnicodeWriter_WriteWideChar(PyUnicodeWriter *writer, const wchar_t *str, Py_ssize_t size)
18481846
18491847
Write the wide string *str* into *writer*.
@@ -1879,6 +1877,10 @@ object.
18791877
On success, return ``0``.
18801878
On error, set an exception, leave the writer unchanged, and return ``-1``.
18811879
1880+
.. versionchanged:: 3.14.4
1881+
1882+
Added support for ``NULL``.
1883+
18821884
.. c:function:: int PyUnicodeWriter_WriteSubstring(PyUnicodeWriter *writer, PyObject *str, Py_ssize_t start, Py_ssize_t end)
18831885
18841886
Write the substring ``str[start:end]`` into *writer*.

0 commit comments

Comments
 (0)