diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-02 18:29:26 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-02 18:29:26 (GMT) |
commit | cc164232aa736006d3c45ee76680c14738e2f9e6 (patch) | |
tree | 27c809a3a3d19db5b822b1178184d09cca1e5eca /Include/unicodeobject.h | |
parent | 63b5b6fd450260a4239371e96263020587648ad9 (diff) | |
download | cpython-cc164232aa736006d3c45ee76680c14738e2f9e6.zip cpython-cc164232aa736006d3c45ee76680c14738e2f9e6.tar.gz cpython-cc164232aa736006d3c45ee76680c14738e2f9e6.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 7cb19eb..2c496ea 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -749,7 +749,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. */ |