summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/cPickle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cPickle.c b/Modules/cPickle.c
index 4c55428..98ab500 100644
--- a/Modules/cPickle.c
+++ b/Modules/cPickle.c
@@ -2191,7 +2191,7 @@ save(Picklerobject *self, PyObject *args, int pers_save)
goto finally;
}
break;
- case 'l':
+ case 'i':
if (type == &PyLong_Type) {
res = save_long(self, args);
goto finally;