mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-46236: Add Py_UNICODE_REPLACEMENT_CHARACTER doc (#132706)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
e84624450d
commit
5ffb89420c
1 changed files with 11 additions and 0 deletions
|
@ -1026,6 +1026,17 @@ generic ones are documented for simplicity.
|
|||
Generic Codecs
|
||||
""""""""""""""
|
||||
|
||||
The following macro is provided:
|
||||
|
||||
|
||||
.. c:macro:: Py_UNICODE_REPLACEMENT_CHARACTER
|
||||
|
||||
The Unicode code point ``U+FFFD`` (replacement character).
|
||||
|
||||
This Unicode character is used as the replacement character during
|
||||
decoding if the *errors* argument is set to "replace".
|
||||
|
||||
|
||||
These are the generic codec APIs:
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue