summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-08 13:47:43 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-08 13:47:43 (GMT)
commitcdd0279b0b5b32d888ad1987ce25f049029e426c (patch)
tree295617c3cd12e22b1528e4bfb94efac2409e3273 /Doc
parent79016e1d55ce5421a74c1a2a8a41088aefca0177 (diff)
downloadcpython-cdd0279b0b5b32d888ad1987ce25f049029e426c.zip
cpython-cdd0279b0b5b32d888ad1987ce25f049029e426c.tar.gz
cpython-cdd0279b0b5b32d888ad1987ce25f049029e426c.tar.bz2
Fix a typo in PyUnicode_CopyCharacters() documentation.
Diffstat (limited to 'Doc')
-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 abf353f..6cc8cce 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -565,7 +565,7 @@ APIs:
.. c:function:: int PyUnicode_CopyCharacters(PyObject *to, Py_ssize_t to_start, \
- PyObject *to, Py_ssize_t from_start, Py_ssize_t how_many)
+ PyObject *from, Py_ssize_t from_start, Py_ssize_t how_many)
Copy characters from one Unicode object into another. This function performs
character conversion when necessary and falls back to :c:func:`memcpy` if