Revert 2to3 modification
Use sys.maxint still for Python 2
This commit is contained in:
parent
baec830f75
commit
c5e078c437
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue