summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-04 18:45:37 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-04 18:45:37 (GMT)
commit1afb39a43707a9e3f14e459b384f1f4f03c16b73 (patch)
tree1dafa93bebe8110fa4f134382dd16c9f7e9e0fa1 /Modules
parent74a69fa662fb844ad3c60eb27b09e5fa1e577305 (diff)
downloadcpython-1afb39a43707a9e3f14e459b384f1f4f03c16b73.zip
cpython-1afb39a43707a9e3f14e459b384f1f4f03c16b73.tar.gz
cpython-1afb39a43707a9e3f14e459b384f1f4f03c16b73.tar.bz2
Fix typos in error messages (thanks Arfrever).
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_pickle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index 96f194e..c47a844 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -497,7 +497,7 @@ unpickler_read(UnpicklerObject *self, char **s, Py_ssize_t n)
/* XXX: Should bytearray be supported too? */
if (!PyBytes_Check(data)) {
PyErr_SetString(PyExc_ValueError,
- "read() from the underlying stream did not"
+ "read() from the underlying stream did not "
"return bytes");
Py_DECREF(data);
return -1;
@@ -530,7 +530,7 @@ unpickler_readline(UnpicklerObject *self, char **s)
/* XXX: Should bytearray be supported too? */
if (!PyBytes_Check(data)) {
PyErr_SetString(PyExc_ValueError,
- "readline() from the underlying stream did not"
+ "readline() from the underlying stream did not "
"return bytes");
return -1;
}