summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-07-01 13:23:39 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-07-01 13:23:39 (GMT)
commit80878793494b497bf3db9c5828373ab25df6a92f (patch)
tree57e4eedd6b85d9ce94f5b4d72d5121ec82ca2ada /Modules/_pickle.c
parenta24b4d260beafb5b45450ff46d7740bea8eaa4a9 (diff)
downloadcpython-80878793494b497bf3db9c5828373ab25df6a92f.zip
cpython-80878793494b497bf3db9c5828373ab25df6a92f.tar.gz
cpython-80878793494b497bf3db9c5828373ab25df6a92f.tar.bz2
Singular form just like the other error message.
Diffstat (limited to 'Modules/_pickle.c')
-rw-r--r--Modules/_pickle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index 195ee5d..0252c62 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -5933,7 +5933,7 @@ Unpickler_set_memo(UnpicklerObject *self, PyObject *obj)
goto error;
if (idx < 0) {
PyErr_SetString(PyExc_ValueError,
- "memos key must be positive integers.");
+ "memo key must be positive integers.");
goto error;
}
if (_Unpickler_MemoPut(self, idx, value) < 0)