diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-02 18:30:35 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-02 18:30:35 (GMT) |
commit | b3648576cd76232e618ecc227541c7b722355f6e (patch) | |
tree | 7e3348aca1818955eba0c1d88d8934118f5c8473 /Include/unicodeobject.h | |
parent | 1edebef724012a4dff48ec3eb2b41981b1610fdd (diff) | |
parent | cc164232aa736006d3c45ee76680c14738e2f9e6 (diff) | |
download | cpython-b3648576cd76232e618ecc227541c7b722355f6e.zip cpython-b3648576cd76232e618ecc227541c7b722355f6e.tar.gz cpython-b3648576cd76232e618ecc227541c7b722355f6e.tar.bz2 |
Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
Diffstat (limited to 'Include/unicodeobject.h')
-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. */ |