Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 27ff74d

Browse files
committed
Fix another issue likely introduced by the merge.
1 parent bdbb395 commit 27ff74d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/cjkcodecs/multibytecodec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ mbstreamreader_iread(MultibyteStreamReaderObject *self,
12471247
goto errorexit;
12481248
}
12491249

1250-
endoffile = (PyString_GET_SIZE(cres) == 0);
1250+
endoffile = (PyBytes_GET_SIZE(cres) == 0);
12511251

12521252
if (self->pendingsize > 0) {
12531253
PyObject *ctr;

0 commit comments

Comments
 (0)