mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
FileIO.readall(): remove trailing space from an exception message
This commit is contained in:
parent
af7260e81a
commit
3e269397e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue