summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-11-23 20:06:21 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-11-23 20:06:21 (GMT)
commit6188d09f1c27f0ba5d4c369677a308fe118e9d5a (patch)
treefaaf1f83aeb28ad29f4cd0d7695b2294cf9187a5 /Modules/_pickle.c
parent8f2ee6e407fe38375095f488b18d2c8c0cbab631 (diff)
parent74d8d63b183f7bb90da68f45e34259af439922de (diff)
downloadcpython-6188d09f1c27f0ba5d4c369677a308fe118e9d5a.zip
cpython-6188d09f1c27f0ba5d4c369677a308fe118e9d5a.tar.gz
cpython-6188d09f1c27f0ba5d4c369677a308fe118e9d5a.tar.bz2
Merge
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 3411ce9..a1819b9 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -2951,7 +2951,7 @@ save_frozenset(PicklerObject *self, PyObject *obj)
iter = PyObject_GetIter(obj);
if (iter == NULL) {
- return NULL;
+ return -1;
}
for (;;) {
PyObject *item;