Fix another issue likely introduced by the merge.

This commit is contained in:
Guido van Rossum 2007-06-14 00:29:43 +00:00
parent bdbb395f2b
commit 27ff74d8a9
1 changed files with 1 additions and 1 deletions

View File

@ -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;