From: Guido van Rossum Date: Thu, 14 Jun 2007 00:29:43 +0000 (+0000) Subject: Fix another issue likely introduced by the merge. X-Git-Tag: v3.0a1~760 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27ff74d8a98ce8a3ba2134568da730926862c7a4;p=python Fix another issue likely introduced by the merge. --- diff --git a/Modules/cjkcodecs/multibytecodec.c b/Modules/cjkcodecs/multibytecodec.c index 81b3500d98..933aa1b0a0 100644 --- a/Modules/cjkcodecs/multibytecodec.c +++ b/Modules/cjkcodecs/multibytecodec.c @@ -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;