Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Doc/c-api/unicode.rst
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
  • Loading branch information
vstinner and serhiy-storchaka authored Jun 20, 2024
commit 3f284f8537c15568cd93316b04aad6a12543cbc4
4 changes: 3 additions & 1 deletion Doc/c-api/unicode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,9 @@ object.
``NULL``, use the strict error handler.

If *consumed* is not ``NULL``, set *\*consumed* to the number of decoded
bytes on success.
bytes on success.
If *consumed* is ``NULL``, treat trailing incomplete UTF-8 byte sequences
as an error.

On success, return ``0``.
On error, set an exception, leave the writer unchanged, and return ``-1``.
Expand Down