Fix PyUnicode_CopyCharacters() doc

This commit is contained in:
Victor Stinner 2011-11-20 18:29:14 +01:00
parent ae4f7c8e59
commit 9343999597
1 changed files with 1 additions and 2 deletions

View 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.