diff options
-rw-r--r-- | Lib/io.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1116,6 +1116,7 @@ class IncrementalNewlineDecoder(codecs.IncrementalDecoder): self.decoder.setstate((buf, flag)) def reset(self): + self.seennl = 0 self.buffer = b'' self.decoder.reset() |