py3k: sys.maxint renamed to sys.maxsize

This commit is contained in:
Brian Crowell 2012-10-15 21:52:31 -05:00 committed by Brian Crowell
parent 83ff0b3b31
commit a453007651

View File

@ -36,7 +36,7 @@ class Interval:
self.hilo.append((hi, lo))
if not self.hilo:
self.hilo = [(sys.maxint, 0)]
self.hilo = [(sys.maxsize, 0)]
def __getitem__(self, index):