summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-06-14 00:29:43 (GMT)
committerGuido van Rossum <guido@python.org>2007-06-14 00:29:43 (GMT)
commit27ff74d8a98ce8a3ba2134568da730926862c7a4 (patch)
tree295dc874e17a042da6d8d824720753c37de71fa0
parentbdbb395f2b3dd8de75f0f3cc7754b94a6d89e017 (diff)
downloadcpython-27ff74d8a98ce8a3ba2134568da730926862c7a4.zip
cpython-27ff74d8a98ce8a3ba2134568da730926862c7a4.tar.gz
cpython-27ff74d8a98ce8a3ba2134568da730926862c7a4.tar.bz2
Fix another issue likely introduced by the merge.
-rw-r--r--Modules/cjkcodecs/multibytecodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cjkcodecs/multibytecodec.c b/Modules/cjkcodecs/multibytecodec.c
index 81b3500..933aa1b 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;