/third_party/python/Lib/test/ |
D | test_class.py | 463 def __int__(self): member in ClassTests.testBadTypeReturned.BadTypeClass 465 __float__ = __int__ 466 __complex__ = __int__ 467 __str__ = __int__ 468 __repr__ = __int__ 469 __bytes__ = __int__ 470 __bool__ = __int__ 471 __index__ = __int__
|
D | test_int.py | 354 def __int__(self): member in IntTestCases.test_intconversion.Foo0 363 def __int__(self): member in IntTestCases.test_intconversion.IntOverridesTrunc 391 def __int__(self): member in IntTestCases.test_intconversion.Intable 419 def __int__(self): member in IntTestCases.test_intconversion.BadInt 446 def __int__(self): member in IntTestCases.test_int_subclass_with_int.MyInt 450 def __int__(self): member in IntTestCases.test_int_subclass_with_int.BadInt 471 def __int__(self): member in IntTestCases.test_int_returns_int_subclass.BadInt 475 def __int__(self): member in IntTestCases.test_int_returns_int_subclass.BadInt2
|
D | test_getargs2.py | 80 def __int__(self): member in Int 84 def __int__(self): member in IntSubclass 88 def __int__(self): member in BadInt 92 def __int__(self): member in BadInt2 96 def __int__(self): member in BadInt3
|
D | test_cmath.py | 224 def __int__(self): return 2 member in CMathTests.test_user_object.Index 227 def __int__(self): return 2 member in CMathTests.test_user_object.MyInt
|
D | test_struct.py | 264 def __int__(self): member in StructTest.test_integers.IntTester.run.NotAnInt 283 def __int__(self): member in StructTest.test_integers.IntTester.run.BadIndex
|
D | test_binop.py | 71 def __int__(self): member in Rat
|
/third_party/libnl/python/netlink/ |
D | util.py | 158 def __int__(self): member in Rate 171 def __int__(self): member in Size
|
/third_party/grpc/src/python/grpcio/grpc/experimental/ |
D | session_cache.py | 44 def __int__(self): member in SSLSessionCache
|
/third_party/python/Doc/c-api/ |
D | long.rst | 131 This function will no longer use :meth:`__int__`. 151 This function will no longer use :meth:`__int__`. 172 This function will no longer use :meth:`__int__`. 194 This function will no longer use :meth:`__int__`. 278 This function will no longer use :meth:`__int__`. 298 This function will no longer use :meth:`__int__`.
|
/third_party/grpc/src/python/grpcio_tests/tests/unit/ |
D | _channel_args_test.py | 25 def __int__(self): member in TestPointerWrapper
|
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | arguments.pyx.pxi | 51 elif hasattr(value, '__int__'): 52 # Pointer objects must override __int__() to return
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 351 mock.__int__ = Mock(return_value=iter([])) 375 mock.__int__ = Mock(return_value=iter([])) 447 self.assertIsInstance(foo.__int__, Foo)
|
D | testmock.py | 1156 call.foo.bar().baz().__int__().call_list()) 1158 call.baz().__int__().call_list()) 1160 call().__int__().call_list()) 1807 mock.__int__.return_value =4 1873 m.__int__ = Mock(return_value=3) 1878 self.assertEqual(m.mock_calls, [call.__int__(), call.__float__()])
|
D | testhelpers.py | 331 kall = call(1).method(2)(3).foo.bar.baz(4)(5).__int__() 431 self.assertEqual(m.__int__.call_count, 0)
|
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/ |
D | channel_argument_test.py | 51 def __int__(self): member in _TestPointerWrapper
|
/third_party/python/Lib/ |
D | numbers.py | 304 def __int__(self): member in Integral
|
D | uuid.py | 270 def __int__(self): member in UUID
|
/third_party/node/tools/inspector_protocol/markupsafe/ |
D | __init__.py | 221 __int__ = lambda s: int(s.obj) member in _MarkupEscapeHelper
|
/third_party/skia/third_party/externals/markupsafe/ |
D | __init__.py | 221 __int__ = lambda s: int(s.obj) member in _MarkupEscapeHelper
|
/third_party/markupsafe/ |
D | __init__.py | 271 def __int__(self) -> int: member in _MarkupEscapeHelper
|
/third_party/python/Lib/ctypes/test/ |
D | test_numbers.py | 125 def __int__(self): member in NumberTestCase.test_integers.IntLike
|
/third_party/littlefs/scripts/ |
D | readmdir.py | 149 def __int__(self): member in Tag
|
/third_party/libnl/python/netlink/route/ |
D | tc.py | 75 def __int__(self): member in Handle
|
/third_party/python/Misc/NEWS.d/ |
D | 3.8.0a3.rst | 233 :meth:`~object.__int__` for implicit conversion of Python numbers to C 234 integers. Using the ``__int__()`` method in implicit conversions has been
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | runtime.py | 646 __getitem__ = __lt__ = __le__ = __gt__ = __ge__ = __int__ = \
|