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

Skip to content

Commit fb436c4

Browse files
committed
#15949, 15899: merge with 3.2.
2 parents a867ed5 + b1d0e5b commit fb436c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/howto/unicode.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ Unicode result). The following examples show the differences::
262262
...
263263
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0:
264264
invalid start byte
265-
>>> b'\x80abc'.decode("utf-8", "replace")
266-
'abc'
265+
>>> b'\x80abc'.decode("utf-8", "replace") #doctest: +SKIP
266+
'?abc'
267267
>>> b'\x80abc'.decode("utf-8", "ignore")
268268
'abc'
269269

0 commit comments

Comments
 (0)