From 27ff74d8a98ce8a3ba2134568da730926862c7a4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 14 Jun 2007 00:29:43 +0000 Subject: [PATCH] Fix another issue likely introduced by the merge. --- Modules/cjkcodecs/multibytecodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/cjkcodecs/multibytecodec.c b/Modules/cjkcodecs/multibytecodec.c index 81b3500d98a..933aa1b0a05 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;