mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
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:
parent
ab18684b60
commit
52d01787dc
2 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue