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

Skip to content

Commit b1d0e5b

Browse files
committed
#15949, 15899: avoid using non-latin1 chars in the doc (they break make all-pdf).
1 parent 85710a4 commit b1d0e5b

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)