/external/python/python-api-core/google/api_core/ |
D | grpc_helpers_async.py | 82 def __await__(self): member in _WrappedUnaryResponseMixin 84 response = yield from self._call.__await__() 274 def __await__(self): member in FakeUnaryUnaryCall 275 response = yield from self._future.__await__() 292 def __await__(self): member in FakeStreamUnaryCall 293 response = yield from self._future.__await__()
|
/external/python/cpython3/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 | 1808 def __await__(self): member in CoroutineTests.test_non_gen_values.Awaitable 1846 def __await__(self): return self member in CoroutineTests.test_duck_coro.CoroLike 1853 self.assertIs(foo().__await__(), coro) 1860 def __await__(self): return self member in CoroutineTests.test_duck_corogen.CoroGenLike 1869 self.assertIs(foo().__await__(), coro) 1892 self.assertIs(wrapper.__await__(), wrapper) 2036 self.assertIs(wrapper.__await__(), gen) 2057 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
|
/external/python/cpython3/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 | 650 return (yield from awaitable.__await__())
|
/external/python/cpython3/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 | 212 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 | 97 def __await__(self): member in CoroLikeObject 327 def __await__(self): member in BaseTaskTests.test_ensure_future_awaitable.Aw
|
/external/python/cpython3/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.
|
D | dis.rst | 577 ``o.__await__``.
|
/external/python/cpython3/Lib/ |
D | types.py | 247 __await__ = __iter__ variable in _GeneratorWrapper
|
D | _collections_abc.py | 110 def __await__(self): member in Awaitable
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a4.rst | 333 NotImplementedError. Task._step() and Future.__await__() raise proper
|
/external/python/cpython3/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
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testasync.py | 31 def __await__(self): yield member in AwaitableClass
|
/external/python/typing/typing_extensions/src/ |
D | test_typing_extensions.py | 451 def __await__(self) -> typing.Iterator[T_a]: member in AwaitableWrapper
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 447 Objects/typeobject.c:slot_am_await():PyId___await__ _Py_IDENTIFIER(__await__)
|
/external/python/cpython3/Doc/ |
D | glossary.rst | 145 a :term:`coroutine` or an object with an :meth:`__await__` method.
|
/external/python/pybind11/docs/ |
D | changelog.rst | 478 * Added support for ``__await__``, ``__aiter__``, and ``__anext__`` protocols.
|