/third_party/python/Lib/test/ |
D | test_coroutines.py | 19 def __await__(self): member in AsyncYieldFrom 27 def __await__(self): member in AsyncYield 47 aw = coro.__await__() 680 aw = coro.__await__() 690 aw = coro.__await__() 702 self.assertIn('__iter__', dir(coro.__await__())) 703 self.assertIn('coroutine_wrapper', repr(coro.__await__())) 820 await_iter = coro.__await__() 973 def __await__(self): member in CoroutineTest.test_await_5.Awaitable 986 def __await__(self): member in CoroutineTest.test_await_6.Awaitable [all …]
|
D | test_asyncgen.py | 454 with contextlib.closing(obj.__await__()) as g: 565 def __await__(self): member in AsyncGenAsyncioTest.test_anext_bad_await.bad_awaitable.BadAwaitable 612 def __await__(self): member in AsyncGenAsyncioTest.test_anext_await_raises.RaisingAwaitable 649 with contextlib.closing(anext(agen, "default").__await__()) as g: 662 with contextlib.closing(anext(agen, "default").__await__()) as g: 670 with contextlib.closing(anext(agen, "default").__await__()) as g: 691 with contextlib.closing(anext(agen, "default").__await__()) as g: 711 with contextlib.closing(anext(agen, "default").__await__()) as g: 727 with contextlib.closing(anext(agen, "default").__await__()) as g:
|
D | test_types.py | 1768 def __await__(self): member in CoroutineTests.test_non_gen_values.Awaitable 1806 def __await__(self): return self member in CoroutineTests.test_duck_coro.CoroLike 1813 self.assertIs(foo().__await__(), coro) 1820 def __await__(self): return self member in CoroutineTests.test_duck_corogen.CoroGenLike 1829 self.assertIs(foo().__await__(), coro) 1852 self.assertIs(wrapper.__await__(), wrapper) 1996 self.assertIs(wrapper.__await__(), gen) 2017 self.assertIs(foo().__await__(), gen)
|
D | test_collections.py | 780 def __await__(self): member in TestOneTrickPonyABCs.test_Awaitable.Bar 788 def __await__(self): member in TestOneTrickPonyABCs.test_Awaitable.MinimalCoro 830 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.Bar 838 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.MinimalCoro 868 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.CoroLike 878 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.CoroLike
|
D | test_inspect.py | 228 def __await__(): member in TestPredicates.test_isawaitable.Future 235 not_fut.__await__ = lambda: None
|
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/ |
D | _base_call.py | 140 def __await__(self) -> Awaitable[ResponseType]: member in UnaryUnaryCall 196 def __await__(self) -> Awaitable[ResponseType]: member in StreamUnaryCall
|
D | _interceptor.py | 431 def __await__(self): member in _InterceptedUnaryResponseMixin 432 call = yield from self._interceptors_task.__await__() 433 response = yield from call.__await__() 895 def __await__(self): member in UnaryUnaryCallResponse
|
D | _call.py | 263 def __await__(self) -> ResponseType: member in _UnaryResponseMixin
|
/third_party/grpc/src/python/grpcio/grpc/aio/ |
D | _base_call.py | 140 def __await__(self) -> Awaitable[ResponseType]: member in UnaryUnaryCall 196 def __await__(self) -> Awaitable[ResponseType]: member in StreamUnaryCall
|
D | _interceptor.py | 430 def __await__(self): member in _InterceptedUnaryResponseMixin 431 call = yield from self._interceptors_task.__await__() 432 response = yield from call.__await__() 894 def __await__(self): member in UnaryUnaryCallResponse
|
D | _call.py | 263 def __await__(self) -> ResponseType: member in _UnaryResponseMixin
|
/third_party/python/Lib/asyncio/ |
D | coroutines.py | 82 def __await__(self): member in CoroWrapper 131 await_meth = res.__await__
|
D | futures.py | 281 def __await__(self): member in Future 289 __iter__ = __await__ # make compatible with 'yield from'.
|
D | tasks.py | 644 return (yield from awaitable.__await__())
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_pep492.py | 28 def __await__(self): member in FakeCoro 128 def __await__(self): member in CoroutineTests.test_function_returning_awaitable.Awaitable
|
D | test_futures.py | 207 fut.__await__()
|
D | test_events.py | 74 def __await__(self): member in CoroLike 1741 it = self.loop.run_in_executor(None, func).__await__()
|
D | test_tasks.py | 96 def __await__(self): member in CoroLikeObject 320 def __await__(self): member in BaseTaskTests.test_ensure_future_awaitable.Aw
|
/third_party/python/Doc/library/ |
D | collections.abc.rst | 175 :class:`Awaitable` [1]_ ``__await__`` 295 expressions. Custom implementations must provide the :meth:`__await__` 304 *awaitables*, even though they do not have an :meth:`__await__` method. 316 :meth:`__await__`. All :class:`Coroutine` instances are also instances of 322 *awaitables*, even though they do not have an :meth:`__await__` method.
|
D | types.rst | 483 the :meth:`__await__` method.
|
/third_party/python/Lib/ |
D | types.py | 247 __await__ = __iter__ variable in _GeneratorWrapper
|
D | _collections_abc.py | 110 def __await__(self): member in Awaitable
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0a4.rst | 333 NotImplementedError. Task._step() and Future.__await__() raise proper
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 2864 An :term:`awaitable` object generally implements an :meth:`~object.__await__` method. 2872 are also awaitable, but they do not implement :meth:`~object.__await__`. 2874 .. method:: object.__await__(self) 2891 A coroutine's execution can be controlled by calling :meth:`~object.__await__` and 2910 :meth:`~object.__await__`. If *value* is not ``None``, this method delegates 2914 iterating over the :meth:`__await__` return value, described above. 2923 when iterating over the :meth:`~object.__await__` return value, described
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testasync.py | 31 def __await__(self): yield member in AwaitableClass
|