summaryrefslogtreecommitdiffstats
path: root/Modules/cPickle.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-01-14 04:02:16 (GMT)
committerGuido van Rossum <guido@python.org>2007-01-14 04:02:16 (GMT)
commit52d01787dcbb301555300c6c6b3df69c9450c8af (patch)
treea4de1d502a7362069398c9fd5693b2e43b4a6cbc /Modules/cPickle.c
parentab18684b60bc337bd104004e5eed9a9d4ebcbbea (diff)
downloadcpython-52d01787dcbb301555300c6c6b3df69c9450c8af.zip
cpython-52d01787dcbb301555300c6c6b3df69c9450c8af.tar.gz
cpython-52d01787dcbb301555300c6c6b3df69c9450c8af.tar.bz2
Fix cPickle breakage due to last-minute change to the name of the 'long' type
(it's not called 'int' :-).
Diffstat (limited to 'Modules/cPickle.c')
-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;