mirror of https://github.com/python/cpython
Fix another issue likely introduced by the merge.
This commit is contained in:
parent
bdbb395f2b
commit
27ff74d8a9
|
@ -1247,7 +1247,7 @@ mbstreamreader_iread(MultibyteStreamReaderObject *self,
|
|||
goto errorexit;
|
||||
}
|
||||
|
||||
endoffile = (PyString_GET_SIZE(cres) == 0);
|
||||
endoffile = (PyBytes_GET_SIZE(cres) == 0);
|
||||
|
||||
if (self->pendingsize > 0) {
|
||||
PyObject *ctr;
|
||||
|
|
Loading…
Reference in New Issue