mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
This commit is contained in:
commit
b3648576cd
4 changed files with 50 additions and 2 deletions
|
@ -635,7 +635,7 @@ APIs:
|
|||
|
||||
Copy the string *u* into a UCS4 buffer, including a null character, if
|
||||
*copy_null* is set. Returns *NULL* and sets an exception on error (in
|
||||
particular, a :exc:`ValueError` if *buflen* is smaller than the length of
|
||||
particular, a :exc:`SystemError` if *buflen* is smaller than the length of
|
||||
*u*). *buffer* is returned on success.
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue