diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-23 20:06:21 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-23 20:06:21 (GMT) |
commit | 6188d09f1c27f0ba5d4c369677a308fe118e9d5a (patch) | |
tree | faaf1f83aeb28ad29f4cd0d7695b2294cf9187a5 /Modules/_pickle.c | |
parent | 8f2ee6e407fe38375095f488b18d2c8c0cbab631 (diff) | |
parent | 74d8d63b183f7bb90da68f45e34259af439922de (diff) | |
download | cpython-6188d09f1c27f0ba5d4c369677a308fe118e9d5a.zip cpython-6188d09f1c27f0ba5d4c369677a308fe118e9d5a.tar.gz cpython-6188d09f1c27f0ba5d4c369677a308fe118e9d5a.tar.bz2 |
Merge
Diffstat (limited to 'Modules/_pickle.c')
-rw-r--r-- | Modules/_pickle.c | 2 |
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; |