Update benchmarks for Python3 while retaining backwards compatibility with Python2
This commit is contained in:
@@ -29,7 +29,7 @@ def div(a, b):
|
||||
if a == MIN_INT and b == -1:
|
||||
return MAX_INT
|
||||
|
||||
return a / b
|
||||
return a // b
|
||||
|
||||
def mod(a, b):
|
||||
if b == 0:
|
||||
|
||||
Reference in New Issue
Block a user