diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-02 18:30:59 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-02 18:30:59 (GMT) |
commit | ad72467bef0fb8043ca034ed8baf95cb218b1eed (patch) | |
tree | 72981ae7e513c7b8ed5489ce0f49da04f2a425c8 /Include | |
parent | 9bc0507998ea118148487ef501d437e41d23c7ce (diff) | |
parent | b3648576cd76232e618ecc227541c7b722355f6e (diff) | |
download | cpython-ad72467bef0fb8043ca034ed8baf95cb218b1eed.zip cpython-ad72467bef0fb8043ca034ed8baf95cb218b1eed.tar.gz cpython-ad72467bef0fb8043ca034ed8baf95cb218b1eed.tar.bz2 |
Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/unicodeobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 20331a3..643d10d 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -733,7 +733,7 @@ PyAPI_FUNC(Py_UCS4) _PyUnicode_FindMaxChar ( #endif /* Copy the string into a UCS4 buffer including the null character if copy_null - is set. Return NULL and raise an exception on error. Raise a ValueError if + is set. Return NULL and raise an exception on error. Raise a SystemError if the buffer is smaller than the string. Return buffer on success. buflen is the length of the buffer in (Py_UCS4) characters. */ |