summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2013-04-14 09:10:14 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2013-04-14 09:10:14 (GMT)
commit5c4874f7a24dbec473dbcfcf6863ea57ede7d233 (patch)
treedf7c605c390b459aa43780e982dd9d6fe56b2434
parenta204636b9190b8e69fe39b86291c2ba69913e310 (diff)
parent00d83f2d05af3735a92ccc7c97704f1f6678bab6 (diff)
downloadcpython-5c4874f7a24dbec473dbcfcf6863ea57ede7d233.zip
cpython-5c4874f7a24dbec473dbcfcf6863ea57ede7d233.tar.gz
cpython-5c4874f7a24dbec473dbcfcf6863ea57ede7d233.tar.bz2
Merge heads.
-rw-r--r--Modules/_pickle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index c213a51..d0cebd0 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -2958,7 +2958,7 @@ save_reduce(PicklerObject *self, PyObject *args, PyObject *obj)
if (listitems == Py_None)
listitems = NULL;
else if (!PyIter_Check(listitems)) {
- PyErr_Format(PicklingError, "Fourth element of tuple"
+ PyErr_Format(PicklingError, "fourth element of the tuple "
"returned by __reduce__ must be an iterator, not %s",
Py_TYPE(listitems)->tp_name);
return -1;
@@ -2967,7 +2967,7 @@ save_reduce(PicklerObject *self, PyObject *args, PyObject *obj)
if (dictitems == Py_None)
dictitems = NULL;
else if (!PyIter_Check(dictitems)) {
- PyErr_Format(PicklingError, "Fifth element of tuple"
+ PyErr_Format(PicklingError, "fifth element of the tuple "
"returned by __reduce__ must be an iterator, not %s",
Py_TYPE(dictitems)->tp_name);
return -1;