HomeSort by relevance Sort by last modified time
    Searched refs:__coerce__ (Results 1 - 25 of 26) sorted by null

1 2

  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_compare.py 15 def __coerce__(self, other): member in class:Coerce
test_coercion.py 6 # Fake a number that implements numeric methods through __coerce__
14 def __coerce__(self, other): member in class:CoerceNumber
24 def __coerce__(self, other): member in class:CoerceTo
302 # same type, but a user-defined __coerce__ doesn't have to obey.
323 # if __coerce__() returns its arguments reversed it causes an infinite
326 def __coerce__(self, other): member in class:CoercionTest.test_infinite_rec_classic_classes.Tester
329 exc = TestFailed("__coerce__() returning its arguments reverse "
test_complex.py 116 self.assertRaises(OverflowError, complex.__coerce__, 1+1j, 1L<<10000)
121 def __coerce__(self, other): member in class:ComplexTest.test_no_implicit_coerce.A
test_class.py 80 def __coerce__(self, *args): member in class:AllTests
153 self.assertCallStack([("__coerce__", (testme, 1)), ("__add__", (testme, 1))])
157 self.assertCallStack([("__coerce__", (testme, 1)), ("__radd__", (testme, 1))])
161 self.assertCallStack([("__coerce__", (testme, 1)), ("__sub__", (testme, 1))])
165 self.assertCallStack([("__coerce__", (testme, 1)), ("__rsub__", (testme, 1))])
169 self.assertCallStack([("__coerce__", (testme, 1)), ("__mul__", (testme, 1))])
173 self.assertCallStack([("__coerce__", (testme, 1)), ("__rmul__", (testme, 1))])
178 self.assertCallStack([("__coerce__", (testme, 1)), ("__div__", (testme, 1))])
183 self.assertCallStack([("__coerce__", (testme, 1)), ("__rdiv__", (testme, 1))])
187 self.assertCallStack([("__coerce__", (testme, 1)), ("__mod__", (testme, 1))]
    [all...]
test_builtin.py 237 def __coerce__(self, other): member in class:BuiltinTest.test_coerce.BadNumber
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_compare.py 15 def __coerce__(self, other): member in class:Coerce
test_coercion.py 6 # Fake a number that implements numeric methods through __coerce__
14 def __coerce__(self, other): member in class:CoerceNumber
24 def __coerce__(self, other): member in class:CoerceTo
302 # same type, but a user-defined __coerce__ doesn't have to obey.
323 # if __coerce__() returns its arguments reversed it causes an infinite
326 def __coerce__(self, other): member in class:CoercionTest.test_infinite_rec_classic_classes.Tester
329 exc = TestFailed("__coerce__() returning its arguments reverse "
test_complex.py 116 self.assertRaises(OverflowError, complex.__coerce__, 1+1j, 1L<<10000)
121 def __coerce__(self, other): member in class:ComplexTest.test_no_implicit_coerce.A
test_class.py 80 def __coerce__(self, *args): member in class:AllTests
153 self.assertCallStack([("__coerce__", (testme, 1)), ("__add__", (testme, 1))])
157 self.assertCallStack([("__coerce__", (testme, 1)), ("__radd__", (testme, 1))])
161 self.assertCallStack([("__coerce__", (testme, 1)), ("__sub__", (testme, 1))])
165 self.assertCallStack([("__coerce__", (testme, 1)), ("__rsub__", (testme, 1))])
169 self.assertCallStack([("__coerce__", (testme, 1)), ("__mul__", (testme, 1))])
173 self.assertCallStack([("__coerce__", (testme, 1)), ("__rmul__", (testme, 1))])
178 self.assertCallStack([("__coerce__", (testme, 1)), ("__div__", (testme, 1))])
183 self.assertCallStack([("__coerce__", (testme, 1)), ("__rdiv__", (testme, 1))])
187 self.assertCallStack([("__coerce__", (testme, 1)), ("__mod__", (testme, 1))]
    [all...]
test_builtin.py 237 def __coerce__(self, other): member in class:BuiltinTest.test_coerce.BadNumber
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_compare.py 15 def __coerce__(self, other): member in class:Coerce
test_coercion.py 6 # Fake a number that implements numeric methods through __coerce__
14 def __coerce__(self, other): member in class:CoerceNumber
24 def __coerce__(self, other): member in class:CoerceTo
302 # same type, but a user-defined __coerce__ doesn't have to obey.
323 # if __coerce__() returns its arguments reversed it causes an infinite
326 def __coerce__(self, other): member in class:CoercionTest.test_infinite_rec_classic_classes.Tester
329 exc = TestFailed("__coerce__() returning its arguments reverse "
test_complex.py 116 self.assertRaises(OverflowError, complex.__coerce__, 1+1j, 1L<<10000)
121 def __coerce__(self, other): member in class:ComplexTest.test_no_implicit_coerce.A
test_class.py 80 def __coerce__(self, *args): member in class:AllTests
153 self.assertCallStack([("__coerce__", (testme, 1)), ("__add__", (testme, 1))])
157 self.assertCallStack([("__coerce__", (testme, 1)), ("__radd__", (testme, 1))])
161 self.assertCallStack([("__coerce__", (testme, 1)), ("__sub__", (testme, 1))])
165 self.assertCallStack([("__coerce__", (testme, 1)), ("__rsub__", (testme, 1))])
169 self.assertCallStack([("__coerce__", (testme, 1)), ("__mul__", (testme, 1))])
173 self.assertCallStack([("__coerce__", (testme, 1)), ("__rmul__", (testme, 1))])
178 self.assertCallStack([("__coerce__", (testme, 1)), ("__div__", (testme, 1))])
183 self.assertCallStack([("__coerce__", (testme, 1)), ("__rdiv__", (testme, 1))])
187 self.assertCallStack([("__coerce__", (testme, 1)), ("__mod__", (testme, 1))]
    [all...]
test_builtin.py 237 def __coerce__(self, other): member in class:BuiltinTest.test_coerce.BadNumber
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_compare.py 15 def __coerce__(self, other): member in class:Coerce
test_coercion.py 6 # Fake a number that implements numeric methods through __coerce__
14 def __coerce__(self, other): member in class:CoerceNumber
24 def __coerce__(self, other): member in class:CoerceTo
302 # same type, but a user-defined __coerce__ doesn't have to obey.
323 # if __coerce__() returns its arguments reversed it causes an infinite
326 def __coerce__(self, other): member in class:CoercionTest.test_infinite_rec_classic_classes.Tester
329 exc = TestFailed("__coerce__() returning its arguments reverse "
test_complex.py 116 self.assertRaises(OverflowError, complex.__coerce__, 1+1j, 1L<<10000)
121 def __coerce__(self, other): member in class:ComplexTest.test_no_implicit_coerce.A
test_class.py 80 def __coerce__(self, *args): member in class:AllTests
153 self.assertCallStack([("__coerce__", (testme, 1)), ("__add__", (testme, 1))])
157 self.assertCallStack([("__coerce__", (testme, 1)), ("__radd__", (testme, 1))])
161 self.assertCallStack([("__coerce__", (testme, 1)), ("__sub__", (testme, 1))])
165 self.assertCallStack([("__coerce__", (testme, 1)), ("__rsub__", (testme, 1))])
169 self.assertCallStack([("__coerce__", (testme, 1)), ("__mul__", (testme, 1))])
173 self.assertCallStack([("__coerce__", (testme, 1)), ("__rmul__", (testme, 1))])
178 self.assertCallStack([("__coerce__", (testme, 1)), ("__div__", (testme, 1))])
183 self.assertCallStack([("__coerce__", (testme, 1)), ("__rdiv__", (testme, 1))])
187 self.assertCallStack([("__coerce__", (testme, 1)), ("__mod__", (testme, 1))]
    [all...]
test_builtin.py 237 def __coerce__(self, other): member in class:BuiltinTest.test_coerce.BadNumber
    [all...]
  /external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
local.py 229 __coerce__ = lambda x, o: x.__coerce__(x, o) variable in class:LocalProxy
  /external/chromium-trace/catapult/third_party/Paste/paste/util/
intset.py 215 def __coerce__(self,other): member in class:IntSet
253 coerced = self.__coerce__(other)
274 coerced = self.__coerce__(other)
  /prebuilts/gdb/darwin-x86/lib/python2.7/pydoc_data/
topics.py     [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/pydoc_data/
topics.py     [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/pydoc_data/
topics.py     [all...]

Completed in 1117 milliseconds

1 2