/external/python/cpython2/Lib/test/ |
test_format.py | 329 def __float__(self): member in class:FormatTest.test_invalid_special_methods.X
|
test_binop.py | 66 def __float__(self): member in class:Rat
|
test_class.py | 100 def __float__(self, *args): member in class:AllTests 386 self.assertCallStack([('__float__', (testme,))]) 498 __float__ = __int__ variable in class:ClassTests.testBadTypeReturned.BadTypeClass
|
test_cmath.py | 123 # Test automatic calling of __complex__ and __float__ by cmath 164 # some classes not providing __float__ or __complex__ 178 # other possible combinations of __float__ and __complex__ 181 def __float__(self): member in class:CMathTests.test_user_object.FloatAndComplex 186 def __float__(self): member in class:CMathTests.test_user_object.FloatAndComplexOS 191 def __float__(self): member in class:CMathTests.test_user_object.JustFloat 194 def __float__(self): member in class:CMathTests.test_user_object.JustFloatOS 201 # other combinations of __float__ and __complex__ 207 # either __complex__ or __float__, even if they provide 225 # functions, by virtue of providing a __float__ metho [all...] |
test_fractions.py | 43 # 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
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
Complex.py | 155 def __float__(self):
member in class:Complex
|
bitvec.py | 329 def __float__(self):
member in class:BitVec
|
/external/libmojo/third_party/markupsafe/ |
__init__.py | 222 __float__ = lambda s: float(s.obj) variable in class:_MarkupEscapeHelper
|
/external/python/cpython2/Demo/classes/ |
Complex.py | 155 def __float__(self): member in class:Complex
|
bitvec.py | 329 def __float__(self): member in class:BitVec
|
/external/python/cpython2/Lib/ctypes/test/ |
test_numbers.py | 110 def __float__(self): member in class:NumberTestCase.test_floats.FloatLike 121 def __float__(self): member in class:NumberTestCase.test_integers.FloatLike
|
/external/python/cpython3/Lib/ctypes/test/ |
test_numbers.py | 110 def __float__(self): member in class:NumberTestCase.test_floats.FloatLike 121 def __float__(self): member in class:NumberTestCase.test_integers.FloatLike
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_numbers.py | 109 def __float__(self): member in class:NumberTestCase.test_floats.FloatLike 120 def __float__(self): member in class:NumberTestCase.test_integers.FloatLike
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_numbers.py | 109 def __float__(self): member in class:NumberTestCase.test_floats.FloatLike 120 def __float__(self): member in class:NumberTestCase.test_integers.FloatLike
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_numbers.py | 109 def __float__(self): member in class:NumberTestCase.test_floats.FloatLike 120 def __float__(self): member in class:NumberTestCase.test_integers.FloatLike
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_numbers.py | 109 def __float__(self): member in class:NumberTestCase.test_floats.FloatLike 120 def __float__(self): member in class:NumberTestCase.test_integers.FloatLike
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
numbers.py | 181 def __float__(self):
member in class:Real 284 def __float__(self):
member in class:Rational 376 def __float__(self):
member in class:Integral
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
numbers.py | 181 def __float__(self):
member in class:Real 284 def __float__(self):
member in class:Rational 376 def __float__(self):
member in class:Integral
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_binop.py | 66 def __float__(self):
member in class:Rat
|
test_class.py | 100 def __float__(self, *args):
member in class:AllTests 373 self.assertCallStack([('__float__', (testme,))])
485 __float__ = __int__
variable in class:ClassTests.testBadTypeReturned.BadTypeClass
|
test_cmath.py | 123 # Test automatic calling of __complex__ and __float__ by cmath
164 # some classes not providing __float__ or __complex__
178 # other possible combinations of __float__ and __complex__
181 def __float__(self):
member in class:CMathTests.test_user_object.FloatAndComplex 186 def __float__(self):
member in class:CMathTests.test_user_object.FloatAndComplexOS 191 def __float__(self):
member in class:CMathTests.test_user_object.JustFloat 194 def __float__(self):
member in class:CMathTests.test_user_object.JustFloatOS 201 # other combinations of __float__ and __complex__
207 # either __complex__ or __float__, even if they provide
225 # functions, by virtue of providing a __float__ method [all...] |
test_fractions.py | 42 # shouldn't be calling __float__ at all when doing comparisons
43 def __float__(self):
member in class:DummyFloat 44 assert False, "__float__ should not be invoked for comparisons"
84 def __float__(self):
member in class:DummyRational 85 assert False, "__float__ should not be invoked"
313 # Check that __float__ isn't implemented by converting the
|
/external/python/cpython2/Lib/ |
numbers.py | 181 def __float__(self): member in class:Real 284 def __float__(self): member in class:Rational 376 def __float__(self): member in class:Integral
|
/external/python/cpython3/Lib/ |
numbers.py | 159 def __float__(self): member in class:Real 283 def __float__(self): member in class:Rational 375 def __float__(self): member in class:Integral
|
/external/python/cpython3/Lib/test/ |
test_binop.py | 68 def __float__(self): member in class:Rat
|