summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/unicode.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2012-01-04 02:59:16 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2012-01-04 02:59:16 (GMT)
commit606e19dda3da637783e8b76b5919e0c57808bddd (patch)
tree1de6415348466544420e58b56cd7b21849eb4e41 /Doc/c-api/unicode.rst
parent8f746d83e201231a5a86af95686408e959b86900 (diff)
downloadcpython-606e19dda3da637783e8b76b5919e0c57808bddd.zip
cpython-606e19dda3da637783e8b76b5919e0c57808bddd.tar.gz
cpython-606e19dda3da637783e8b76b5919e0c57808bddd.tar.bz2
Fix PyUnicode_Fill() doc: return type is Py_ssize_t, not int
Diffstat (limited to 'Doc/c-api/unicode.rst')
-rw-r--r--Doc/c-api/unicode.rst2
1 files changed, 1 insertions, 1 deletions
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 @@ 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