summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-04 18:46:56 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-04 18:46:56 (GMT)
commitec80478967afc0cf4e600a48dfa633603c20ac0e (patch)
treea05719f24b8499d9b68834d9e1ce086368265cc8 /Modules
parentce111caaeb9ae6cf3c04dfdc26cc4e53f015f31d (diff)
downloadcpython-ec80478967afc0cf4e600a48dfa633603c20ac0e.zip
cpython-ec80478967afc0cf4e600a48dfa633603c20ac0e.tar.gz
cpython-ec80478967afc0cf4e600a48dfa633603c20ac0e.tar.bz2
Merged revisions 84502 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84502 | antoine.pitrou | 2010-09-04 20:45:37 +0200 (sam., 04 sept. 2010) | 3 lines 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;
}