]> granicus.if.org Git - python/commitdiff
Fix another issue likely introduced by the merge.
authorGuido van Rossum <guido@python.org>
Thu, 14 Jun 2007 00:29:43 +0000 (00:29 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 14 Jun 2007 00:29:43 +0000 (00:29 +0000)
Modules/cjkcodecs/multibytecodec.c

index 81b3500d98ac8ec83ef81b7ed4124500b215fe59..933aa1b0a055a06fc1da60be131ba0622c774794 100644 (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;