summaryrefslogtreecommitdiffstats
path: root/Lib/pickle.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r--Lib/pickle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py
index 3068b41..2ec9a43 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):