summaryrefslogtreecommitdiffstats
path: root/Lib/_abcoll.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/_abcoll.py')
-rw-r--r--Lib/_abcoll.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py
index 122aac0..36d39cf 100644
--- a/Lib/_abcoll.py
+++ b/Lib/_abcoll.py
@@ -246,7 +246,7 @@ class Set(metaclass=ABCMeta):
freedom for __eq__ or __hash__. We match the algorithm used
by the built-in frozenset type.
"""
- MAX = sys.maxint
+ MAX = sys.maxsize
MASK = 2 * MAX + 1
n = len(self)
h = 1927868237 * (n + 1)