summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-11-20 17:29:14 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-11-20 17:29:14 (GMT)
commit9343999597e3424a39637dedf1a1d006f7e667c5 (patch)
tree470061b3e1ee7b94ea8d508c2ffe7497889e1ea9 /Include
parentae4f7c8e596eb224d8f24d21f8c87a10b98e07af (diff)
downloadcpython-9343999597e3424a39637dedf1a1d006f7e667c5.zip
cpython-9343999597e3424a39637dedf1a1d006f7e667c5.tar.gz
cpython-9343999597e3424a39637dedf1a1d006f7e667c5.tar.bz2
Fix PyUnicode_CopyCharacters() doc
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 2323c65..71404f3 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -756,8 +756,7 @@ PyAPI_FUNC(Py_UNICODE) PyUnicode_GetMax(void);
PyUnicode_FromUnicode). Unicode objects allocated by the new API (e.g.
PyUnicode_New) cannot be resized by this function.
- The length is a number of Py_UNICODE characters (and not the number of code
- points).
+ The length is a number of characters (and not the number of Py_UNICODE characters).
*unicode is modified to point to the new (resized) object and 0
returned on success.