summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-05-18 00:38:43 +0200
committerVictor Stinner <victor.stinner@gmail.com>2013-05-18 00:38:43 +0200
commit3e269397e39d2d60a1b74c338a7d321852d71b85 (patch)
tree20f86229c5f2ab2a9d0850633bfc1861eaf8f954 /Modules
parentaf7260e81a13f5ebe38d895cd8c32a080223302d (diff)
downloadcpython-git-3e269397e39d2d60a1b74c338a7d321852d71b85.tar.gz
FileIO.readall(): remove trailing space from an exception message
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_io/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c
index 56c02dd176..ff7d14dcae 100644
--- a/Modules/_io/fileio.c
+++ b/Modules/_io/fileio.c
@@ -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;
}