diff --git a/Lib/pickle.py b/Lib/pickle.py index 3068b4147b7..2ec9a4351fe 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -519,7 +519,7 @@ class Unpickler: dispatch[NONE] = load_none def load_int(self): - self.append(string.atoi(self.readline()[:-1], 0)) + self.append(string.atoi(self.readline()[:-1])) dispatch[INT] = load_int def load_binint(self):