mirror of https://github.com/python/cpython
FileIO.readall(): remove trailing space from an exception message
This commit is contained in:
parent
af7260e81a
commit
3e269397e3
|
@ -632,7 +632,7 @@ fileio_readall(fileio *self)
|
|||
if (bufsize > PY_SSIZE_T_MAX || bufsize <= 0) {
|
||||
PyErr_SetString(PyExc_OverflowError,
|
||||
"unbounded read returned more bytes "
|
||||
"than a Python string can hold ");
|
||||
"than a Python string can hold");
|
||||
Py_DECREF(result);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue