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

Skip to content

Commit 3e26939

Browse files
committed
FileIO.readall(): remove trailing space from an exception message
1 parent af7260e commit 3e26939

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_io/fileio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ fileio_readall(fileio *self)
632632
if (bufsize > PY_SSIZE_T_MAX || bufsize <= 0) {
633633
PyErr_SetString(PyExc_OverflowError,
634634
"unbounded read returned more bytes "
635-
"than a Python string can hold ");
635+
"than a Python string can hold");
636636
Py_DECREF(result);
637637
return NULL;
638638
}

0 commit comments

Comments
 (0)