Kaydet (Commit) 38796d07 authored tarafından Neil Schemenauer's avatar Neil Schemenauer

Use numbers that can be accurately represented on binary machines. I hope

this works on all platforms.
üst d18722b9
This diff is collapsed.
......@@ -65,8 +65,8 @@ class MethodNumber:
return cmp(self.arg, other)
candidates = [ 2, 2.2, 2L, 2+4j, [1], (2,), None,
MethodNumber(1), CoerceNumber(8)]
candidates = [ 2, 4.0, 2L, 2+0j, [1], (2,), None,
MethodNumber(1), CoerceNumber(2)]
infix_binops = [ '+', '-', '*', '/', '**', '%' ]
prefix_binops = [ 'divmod' ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment