summaryrefslogtreecommitdiff
path: root/Lib/zipfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/zipfile.py')
-rw-r--r--Lib/zipfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/zipfile.py b/Lib/zipfile.py
index 97f639d57c..b274682e70 100644
--- a/Lib/zipfile.py
+++ b/Lib/zipfile.py
@@ -428,7 +428,7 @@ class ZipExtFile:
read a whole line.
"""
if size < 0:
- size = sys.maxint
+ size = sys.maxsize
elif size == 0:
return b''