commit | 606e19dda3da637783e8b76b5919e0c57808bddd | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Wed Jan 04 03:59:16 2012 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Wed Jan 04 03:59:16 2012 +0100 |
tree | 1de6415348466544420e58b56cd7b21849eb4e41 | |
parent | 8f746d83e201231a5a86af95686408e959b86900 [diff] [blame] |
Fix PyUnicode_Fill() doc: return type is Py_ssize_t, not int
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 3a8b38b..37e08d6 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst
@@ -564,7 +564,7 @@ .. 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