Fix cPickle breakage due to last-minute change to the name of the 'long' type

(it's not called 'int' :-).
This commit is contained in:
Guido van Rossum 2007-01-14 04:02:16 +00:00
parent ab18684b60
commit 52d01787dc
2 changed files with 2 additions and 3 deletions

View file

@ -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;