Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4c3a18

Browse files
committed
Remove redundant sentence from c-api docs (issue #16323)
1 parent 7ecd13d commit f4c3a18

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Doc/c-api/unicode.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -742,10 +742,7 @@ system.
742742
Decode a string from the current locale encoding. The supported
743743
error handlers are ``"strict"`` and ``"surrogateescape"``
744744
(: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
745+
*errors* is ``NULL``. *str* must end with a null character but
749746
cannot contain embedded null characters.
750747
751748
.. seealso::

0 commit comments

Comments
 (0)