From 9343999597e3424a39637dedf1a1d006f7e667c5 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 20 Nov 2011 18:29:14 +0100 Subject: Fix PyUnicode_CopyCharacters() doc --- Include/unicodeobject.h | 3 +-- 1 file changed, 1 insertion(+), 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. -- cgit v0.12