/external/python/cpython3/Lib/test/ |
D | test_coroutines.py | 18 def __await__(self): member in AsyncYieldFrom 26 def __await__(self): member in AsyncYield 46 aw = coro.__await__() 679 aw = coro.__await__() 689 aw = coro.__await__() 701 self.assertIn('__iter__', dir(coro.__await__())) 702 self.assertIn('coroutine_wrapper', repr(coro.__await__())) 819 await_iter = coro.__await__() 972 def __await__(self): member in CoroutineTest.test_await_5.Awaitable 985 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 | 614 def __await__(self): member in TestOneTrickPonyABCs.test_Awaitable.Bar 622 def __await__(self): member in TestOneTrickPonyABCs.test_Awaitable.MinimalCoro 664 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.Bar 672 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.MinimalCoro 702 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.CoroLike 712 def __await__(self): member in TestOneTrickPonyABCs.test_Coroutine.CoroLike
|
D | test_inspect.py | 201 def __await__(): member in TestPredicates.test_isawaitable.Future 208 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 | 365 the :meth:`__await__` method.
|
D | dis.rst | 560 ``o.__await__``.
|
/external/python/cpython3/Lib/asyncio/ |
D | coroutines.py | 81 def __await__(self): member in CoroWrapper 127 await_meth = res.__await__
|
D | locks.py | 84 def __await__(self): member in _ContextManagerMixin 89 return self.__acquire_ctx().__await__()
|
D | futures.py | 257 def __await__(self): member in Future 265 __iter__ = __await__ # make compatible with 'yield from'.
|
D | tasks.py | 603 return (yield from awaitable.__await__())
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_pep492.py | 25 def __await__(self): member in FakeCoro 126 def __await__(self): member in CoroutineTests.test_function_returning_awaitable.Awaitable
|
D | test_futures.py | 186 fut.__await__()
|
D | test_tasks.py | 77 def __await__(self): member in CoroLikeObject 219 def __await__(self): member in BaseTaskTests.test_ensure_future_awaitable.Aw
|
D | test_events.py | 70 def __await__(self): member in CoroLike 1840 it = self.loop.run_in_executor(None, func).__await__()
|
/external/python/cpython3/Lib/ |
D | types.py | 235 __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
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 2554 An :term:`awaitable` object generally implements an :meth:`__await__` method. 2562 are also awaitable, but they do not implement :meth:`__await__`. 2564 .. method:: object.__await__(self) 2581 A coroutine's execution can be controlled by calling :meth:`__await__` and 2600 :meth:`__await__`. If *value* is not ``None``, this method delegates 2604 iterating over the :meth:`__await__` return value, described above. 2613 when iterating over the :meth:`__await__` return value, described
|
/external/python/cpython3/Doc/ |
D | glossary.rst | 139 a :term:`coroutine` or an object with an :meth:`__await__` method.
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 6678 _Py_IDENTIFIER(__await__); in slot_am_await()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 184 defining the :meth:`__await__` method.
|