/external/python/cpython3/Lib/test/ |
D | test_coroutines.py | 17 def __await__(self): member in AsyncYieldFrom 25 def __await__(self): member in AsyncYield 45 aw = coro.__await__() 678 aw = coro.__await__() 688 aw = coro.__await__() 700 self.assertIn('__iter__', dir(coro.__await__())) 701 self.assertIn('coroutine_wrapper', repr(coro.__await__())) 818 await_iter = coro.__await__() 971 def __await__(self): member in CoroutineTest.test_await_5.Awaitable 984 def __await__(self): member in CoroutineTest.test_await_6.Awaitable [all …]
|
D | test_types.py | 1357 def __await__(self): member in CoroutineTests.test_non_gen_values.Awaitable 1395 def __await__(self): return self member in CoroutineTests.test_duck_coro.CoroLike 1402 self.assertIs(foo().__await__(), coro) 1409 def __await__(self): return self member in CoroutineTests.test_duck_corogen.CoroGenLike 1418 self.assertIs(foo().__await__(), coro) 1441 self.assertIs(wrapper.__await__(), wrapper) 1585 self.assertIs(wrapper.__await__(), gen) 1606 self.assertIs(foo().__await__(), gen)
|
D | test_collections.py | 690 def __await__(self): member in TestOneTrickPonyABCs.test_Awaitable.Bar 698 def __await__(self): member in TestOneTrickPonyABCs.test_Awaitable.MinimalCoro 740 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.Bar 748 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.MinimalCoro 778 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.CoroLike 788 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.CoroLike
|
D | test_inspect.py | 227 def __await__(): member in TestPredicates.test_isawaitable.Future 234 not_fut.__await__ = lambda: None
|
/external/python/cpython3/Doc/library/ |
D | collections.abc.rst | 92 :class:`Awaitable` ``__await__`` 185 expressions. Custom implementations must provide the :meth:`__await__` 194 *awaitables*, even though they do not have an :meth:`__await__` method. 206 :meth:`__await__`. All :class:`Coroutine` instances are also instances of 212 *awaitables*, even though they do not have an :meth:`__await__` method.
|
D | types.rst | 380 the :meth:`__await__` method.
|
D | dis.rst | 577 ``o.__await__``.
|
/external/python/cpython3/Lib/asyncio/ |
D | coroutines.py | 82 def __await__(self): member in CoroWrapper 131 await_meth = res.__await__
|
D | futures.py | 257 def __await__(self): member in Future 265 __iter__ = __await__ # make compatible with 'yield from'.
|
D | locks.py | 89 def __await__(self): member in _ContextManagerMixin 94 return self.__acquire_ctx().__await__()
|
D | tasks.py | 684 return (yield from awaitable.__await__())
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_pep492.py | 28 def __await__(self): member in FakeCoro 131 def __await__(self): member in CoroutineTests.test_function_returning_awaitable.Awaitable
|
D | test_futures.py | 190 fut.__await__()
|
D | test_events.py | 71 def __await__(self): member in CoroLike 1695 it = self.loop.run_in_executor(None, func).__await__()
|
D | test_tasks.py | 79 def __await__(self): member in CoroLikeObject 219 def __await__(self): member in BaseTaskTests.test_ensure_future_awaitable.Aw
|
/external/python/cpython3/Lib/ |
D | types.py | 242 __await__ = __iter__ variable in _GeneratorWrapper
|
D | _collections_abc.py | 104 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
|
D | 3.8.0rc1.rst | 481 specs as async objects but failed to evaluate classes with `__await__` but
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 2585 An :term:`awaitable` object generally implements an :meth:`__await__` method. 2593 are also awaitable, but they do not implement :meth:`__await__`. 2595 .. method:: object.__await__(self) 2612 A coroutine's execution can be controlled by calling :meth:`__await__` and 2631 :meth:`__await__`. If *value* is not ``None``, this method delegates 2635 iterating over the :meth:`__await__` return value, described above. 2644 when iterating over the :meth:`__await__` return value, described
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testasync.py | 23 def __await__(self): member in AwaitableClass
|
/external/python/pybind11/docs/ |
D | changelog.rst | 40 * Added support for ``__await__``, ``__aiter__``, and ``__anext__`` protocols.
|
/external/python/cpython3/Doc/ |
D | glossary.rst | 143 a :term:`coroutine` or an object with an :meth:`__await__` method.
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 203 …:`~PyAsyncMethods.am_await` | :c:type:`unaryfunc` | __await__ |
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 6820 _Py_IDENTIFIER(__await__); in slot_am_await()
|