Commit 513d5111 authored by Victor Stinner's avatar Victor Stinner

Fix PyUnicode_Fill() doc: return type is Py_ssize_t, not int

parent 2397c9c4
......@@ -564,7 +564,7 @@ APIs:
.. versionadded:: 3.3
.. c:function:: int PyUnicode_Fill(PyObject *unicode, Py_ssize_t start, \
.. c:function:: Py_ssize_t PyUnicode_Fill(PyObject *unicode, Py_ssize_t start, \
Py_ssize_t length, Py_UCS4 fill_char)
Fill a string with a character: write *fill_char* into
......
......@@ -828,7 +828,7 @@ Functions and macros manipulating Py_UNICODE* strings:
* :c:macro:`Py_UNICODE_strncmp`: use :c:func:`PyUnicode_Tailmatch`
* :c:macro:`Py_UNICODE_strchr`, :c:macro:`Py_UNICODE_strrchr`: use
:c:func:`PyUnicode_FindChar`
* :c:macro:`Py_UNICODE_FILL`
* :c:macro:`Py_UNICODE_FILL`: use :c:func:`PyUnicode_Fill`
* :c:macro:`Py_UNICODE_MATCH`
Encoders:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment