Revert 2to3 modification

Use sys.maxint still for Python 2
This commit is contained in:
William S Fulton 2020-08-15 23:50:31 +01:00
commit c5e078c437

View file

@ -472,7 +472,7 @@ maxllong = overllong - 1
maxullong = 2 * maxllong + 1
# Make sure Python 2's sys.maxint is the same as the maxlong we calculated
if sys.version_info[0] <= 2 and maxlong != sys.maxsize:
if sys.version_info[0] <= 2 and maxlong != sys.maxint:
raise RuntimeError("sys.maxint is not the maximum value of a signed long")
def checkType(t, e, val, delta):