[Python-checkins] cpython: Fix PyUnicode_CopyCharacters() doc
victor.stinner
python-checkins at python.org
Sun Nov 20 22:53:22 CET 2011
http://hg.python.org/cpython/rev/28f2c1c1b7c1
changeset: 73635:28f2c1c1b7c1
user: Victor Stinner <victor.stinner at haypocalc.com>
date: Sun Nov 20 18:29:14 2011 +0100
summary:
Fix PyUnicode_CopyCharacters() doc
files:
Include/unicodeobject.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -756,8 +756,7 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list