]> granicus.if.org Git - python/commitdiff
FileIO.readall(): remove trailing space from an exception message
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 17 May 2013 22:38:43 +0000 (00:38 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 17 May 2013 22:38:43 +0000 (00:38 +0200)
Modules/_io/fileio.c

index 56c02dd176a5ce8df22686e2c72ea2060f89f476..ff7d14dcae27e229d4f09046ce2c2b5275392ccd 100644 (file)
@@ -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;
             }