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 1a51237 commit 013b1caCopy full SHA for 013b1ca
Doc/library/io.rst
@@ -1124,7 +1124,7 @@ Text I/O
1124
>>> import codecs
1125
>>> import io
1126
>>> idec = codecs.getincrementaldecoder("utf-8")()
1127
- >>> inld = io.IncrementalNewlineDecoder(idec, True)
+ >>> inld = io.IncrementalNewlineDecoder(idec, translate=True)
1128
>>> inld.decode(b'1\r')
1129
'1'
1130
>>> inld.decode(b'\n2\n')
0 commit comments