diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-04-14 09:11:16 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-04-14 09:11:16 (GMT) |
commit | 6d9e14593ed45921e7a34e715ac17debdac3fd5a (patch) | |
tree | fa3dfe10d79160a4618bfb86e4c31ce1a2b8c9ab | |
parent | 1e6a3a2fe9c6402dc7c8c11dcbf1371beb73e05a (diff) | |
parent | 5c4874f7a24dbec473dbcfcf6863ea57ede7d233 (diff) | |
download | cpython-6d9e14593ed45921e7a34e715ac17debdac3fd5a.zip cpython-6d9e14593ed45921e7a34e715ac17debdac3fd5a.tar.gz cpython-6d9e14593ed45921e7a34e715ac17debdac3fd5a.tar.bz2 |
Merge 3.3
-rw-r--r-- | Modules/_pickle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c index c7be5dc..b4dbe2f 100644 --- a/Modules/_pickle.c +++ b/Modules/_pickle.c @@ -2992,7 +2992,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; @@ -3001,7 +3001,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; |