summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-08 13:49:45 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-08 13:49:45 (GMT)
commit0738aff368103359fa784b9c789b33d7e324312b (patch)
treec48868887bb1dde68428e989f7430c405bf72ec9 /Doc
parent3e4477ced0562557840583fe706cddb3752d09ce (diff)
parentcdd0279b0b5b32d888ad1987ce25f049029e426c (diff)
downloadcpython-0738aff368103359fa784b9c789b33d7e324312b.zip
cpython-0738aff368103359fa784b9c789b33d7e324312b.tar.gz
cpython-0738aff368103359fa784b9c789b33d7e324312b.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 2f03f69..216088e 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -576,7 +576,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