[Python-checkins] r84503 - in python/branches/release31-maint: Modules/_pickle.c
antoine.pitrou
python-checkins at python.org
Sat Sep 4 20:46:56 CEST 2010
Author: antoine.pitrou
Date: Sat Sep 4 20:46:56 2010
New Revision: 84503
Log:
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).
........
Modified:
python/branches/release31-maint/ (props changed)
python/branches/release31-maint/Modules/_pickle.c
Modified: python/branches/release31-maint/Modules/_pickle.c
==============================================================================
--- python/branches/release31-maint/Modules/_pickle.c (original)
+++ python/branches/release31-maint/Modules/_pickle.c Sat Sep 4 20:46:56 2010
@@ -497,7 +497,7 @@
/* 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 @@
/* 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;
}
More information about the Python-checkins
mailing list