Commit 27ff74d8 authored by Guido van Rossum's avatar Guido van Rossum

Fix another issue likely introduced by the merge.

parent bdbb395f
...@@ -1247,7 +1247,7 @@ mbstreamreader_iread(MultibyteStreamReaderObject *self, ...@@ -1247,7 +1247,7 @@ mbstreamreader_iread(MultibyteStreamReaderObject *self,
goto errorexit; goto errorexit;
} }
endoffile = (PyString_GET_SIZE(cres) == 0); endoffile = (PyBytes_GET_SIZE(cres) == 0);
if (self->pendingsize > 0) { if (self->pendingsize > 0) {
PyObject *ctr; PyObject *ctr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment