Searched refs:__float__ (Results 26 - 50 of 56) sorted by relevance

123

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_binop.py66 def __float__(self): member in class:Rat
H A Dtest_fractions.py43 # shouldn't be calling __float__ at all when doing comparisons
44 def __float__(self): member in class:DummyFloat
45 assert False, "__float__ should not be invoked for comparisons"
85 def __float__(self): member in class:DummyRational
86 assert False, "__float__ should not be invoked"
321 # Check that __float__ isn't implemented by converting the
H A Dtest_math.py281 def __float__(self): member in class:MathTests.testCeil.TestCeil
405 def __float__(self): member in class:MathTests.testFloor.TestFloor
H A Dtest_complex.py355 def __float__(self): member in class:ComplexTest.test_constructor.float2
H A Dtest_builtin.py1349 def __float__(self): member in class:BuiltinTest.test_round.TestRound
1361 t.__float__ = lambda *args: args
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A DUserString.py25 def __float__(self): return float(self.data) member in class:UserString
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_binop.py66 def __float__(self): member in class:Rat
H A Dtest_fractions.py43 # shouldn't be calling __float__ at all when doing comparisons
44 def __float__(self): member in class:DummyFloat
45 assert False, "__float__ should not be invoked for comparisons"
85 def __float__(self): member in class:DummyRational
86 assert False, "__float__ should not be invoked"
321 # Check that __float__ isn't implemented by converting the
H A Dtest_math.py281 def __float__(self): member in class:MathTests.testCeil.TestCeil
405 def __float__(self): member in class:MathTests.testFloor.TestFloor
H A Dtest_complex.py355 def __float__(self): member in class:ComplexTest.test_constructor.float2
H A Dtest_builtin.py1349 def __float__(self): member in class:BuiltinTest.test_round.TestRound
1361 t.__float__ = lambda *args: args
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_fractions.py43 # shouldn't be calling __float__ at all when doing comparisons
44 def __float__(self): member in class:DummyFloat
45 assert False, "__float__ should not be invoked for comparisons"
85 def __float__(self): member in class:DummyRational
86 assert False, "__float__ should not be invoked"
321 # Check that __float__ isn't implemented by converting the
H A Dtest_math.py281 def __float__(self): member in class:MathTests.testCeil.TestCeil
405 def __float__(self): member in class:MathTests.testFloor.TestFloor
H A Dtest_complex.py355 def __float__(self): member in class:ComplexTest.test_constructor.float2
H A Dtest_builtin.py1349 def __float__(self): member in class:BuiltinTest.test_round.TestRound
1361 t.__float__ = lambda *args: args
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_fractions.py43 # shouldn't be calling __float__ at all when doing comparisons
44 def __float__(self): member in class:DummyFloat
45 assert False, "__float__ should not be invoked for comparisons"
85 def __float__(self): member in class:DummyRational
86 assert False, "__float__ should not be invoked"
321 # Check that __float__ isn't implemented by converting the
H A Dtest_math.py281 def __float__(self): member in class:MathTests.testCeil.TestCeil
405 def __float__(self): member in class:MathTests.testFloor.TestFloor
H A Dtest_complex.py355 def __float__(self): member in class:ComplexTest.test_constructor.float2
H A Dtest_builtin.py1349 def __float__(self): member in class:BuiltinTest.test_round.TestRound
1361 t.__float__ = lambda *args: args
/prebuilts/misc/common/jython/
H A Djython.jarMETA-INF/MANIFEST.MF com/xhaus/modjy/ModjyJServlet.class ModjyJServlet.java package com.xhaus ...
/prebuilts/devtools/tools/lib/
H A Djython-standalone-2.5.3.jarMETA-INF/MANIFEST.MF META-INF/LICENSE META-INF/NOTICE META-INF/maven/jline/ ...
/prebuilts/tools/common/m2/repository/org/python/jython/2.5.3/
H A Djython-2.5.3.jarMETA-INF/MANIFEST.MF META-INF/services/javax.script.ScriptEngineFactory com/xhaus/modjy/ModjyJServlet ...
/prebuilts/tools/common/m2/repository/org/python/jython-standalone/2.5.3/
H A Djython-standalone-2.5.3.jarMETA-INF/MANIFEST.MF META-INF/LICENSE META-INF/NOTICE META-INF/maven/jline/ ...
/prebuilts/gdb/darwin-x86/lib/python2.7/
H A Ddecimal.py1582 def __float__(self): member in class:Decimal
/prebuilts/gdb/linux-x86/lib/python2.7/
H A Ddecimal.py1582 def __float__(self): member in class:Decimal

Completed in 522 milliseconds

123