Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ecd13d commit f4c3a18Copy full SHA for f4c3a18
1 file changed
Doc/c-api/unicode.rst
@@ -742,10 +742,7 @@ system.
742
Decode a string from the current locale encoding. The supported
743
error handlers are ``"strict"`` and ``"surrogateescape"``
744
(:pep:`383`). The decoder uses ``"strict"`` error handler if
745
- *errors* is ``NULL``. If a byte sequence can be decoded as a
746
- surrogate character and *errors* is not ``"strict"``, then the byte
747
- sequence is escaped using the ``"surrogateescape"`` error handler
748
- instead of being decoded. *str* must end with a null character but
+ *errors* is ``NULL``. *str* must end with a null character but
749
cannot contain embedded null characters.
750
751
.. seealso::
0 commit comments