]> granicus.if.org Git - python/commitdiff
Fix PyUnicode_CopyCharacters() doc
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 20 Nov 2011 17:29:14 +0000 (18:29 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 20 Nov 2011 17:29:14 +0000 (18:29 +0100)
Include/unicodeobject.h

index 2323c650aa66f50032b47f888b9fca9fc031cd79..71404f3ae798647d7c2706a3c8edf62699db4ce7 100644 (file)
@@ -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.