Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c4874f

Browse files
committed
Merge heads.
2 parents a204636 + 00d83f2 commit 5c4874f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/_pickle.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2958,7 +2958,7 @@ save_reduce(PicklerObject *self, PyObject *args, PyObject *obj)
29582958
if (listitems == Py_None)
29592959
listitems = NULL;
29602960
else if (!PyIter_Check(listitems)) {
2961-
PyErr_Format(PicklingError, "Fourth element of tuple"
2961+
PyErr_Format(PicklingError, "fourth element of the tuple "
29622962
"returned by __reduce__ must be an iterator, not %s",
29632963
Py_TYPE(listitems)->tp_name);
29642964
return -1;
@@ -2967,7 +2967,7 @@ save_reduce(PicklerObject *self, PyObject *args, PyObject *obj)
29672967
if (dictitems == Py_None)
29682968
dictitems = NULL;
29692969
else if (!PyIter_Check(dictitems)) {
2970-
PyErr_Format(PicklingError, "Fifth element of tuple"
2970+
PyErr_Format(PicklingError, "fifth element of the tuple "
29712971
"returned by __reduce__ must be an iterator, not %s",
29722972
Py_TYPE(dictitems)->tp_name);
29732973
return -1;

0 commit comments

Comments
 (0)