/external/python/cpython3/Lib/asyncio/ |
coroutines.py | 81 def __await__(self): member in class:CoroWrapper 127 await_meth = res.__await__
|
futures.py | 257 def __await__(self): member in class:Future 265 __iter__ = __await__ # make compatible with 'yield from'.
|
locks.py | 84 def __await__(self): member in class:_ContextManagerMixin 89 return self.__acquire_ctx().__await__()
|
tasks.py | 298 # as `Future.__iter__` and `Future.__await__` don't need it. 600 Wraps awaitable (an object with __await__) into a coroutine 603 return (yield from awaitable.__await__())
|
/external/python/cpython3/Lib/test/ |
test_coroutines.py | 18 def __await__(self): member in class:AsyncYieldFrom 26 def __await__(self): member in class:AsyncYield 46 aw = coro.__await__() 506 self.assertFalse(hasattr(gen, '__await__')) 679 aw = coro.__await__() 689 aw = coro.__await__() 700 self.assertIn('__await__', dir(coro)) 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 class:CoroutineTest.test_await_5.Awaitable 985 def __await__(self): member in class:CoroutineTest.test_await_6.Awaitable 995 def __await__(self): member in class:CoroutineTest.test_await_7.Awaitable 1070 def __await__(self): member in class:CoroutineTest.test_await_12.Awaitable 1084 def __await__(self): member in class:CoroutineTest.test_await_13.Awaitable 1101 def __await__(self): member in class:CoroutineTest.test_await_14.Wrapper 1105 def __await__(self): member in class:CoroutineTest.test_await_14.FutureLike 1736 def __await__(self): member in class:CoroutineTest.test_for_11.F [all...] |
test_types.py | 1357 def __await__(self): member in class:CoroutineTests.test_non_gen_values.Awaitable 1395 def __await__(self): return self member in class:CoroutineTests.test_duck_coro.CoroLike 1409 def __await__(self): return self member in class:CoroutineTests.test_duck_corogen.CoroGenLike [all...] |
test_collections.py | 614 def __await__(self): member in class:TestOneTrickPonyABCs.test_Awaitable.Bar 622 def __await__(self): member in class:TestOneTrickPonyABCs.test_Awaitable.MinimalCoro 637 # flag don't have '__await__' method, hence can't be instances 664 def __await__(self): member in class:TestOneTrickPonyABCs.test_Coroutine.Bar 672 def __await__(self): member in class:TestOneTrickPonyABCs.test_Coroutine.MinimalCoro 687 # flag don't have '__await__' method, hence can't be instances 702 def __await__(self): member in class:TestOneTrickPonyABCs.test_Coroutine.CoroLike 712 def __await__(self): member in class:TestOneTrickPonyABCs.test_Coroutine.CoroLike [all...] |
test_inspect.py | 201 def __await__(): member in class:TestPredicates.test_isawaitable.Future 208 not_fut.__await__ = lambda: None [all...] |
/external/python/cpython3/Lib/test/test_asyncio/ |
test_pep492.py | 25 def __await__(self): member in class:FakeCoro 126 def __await__(self): member in class:CoroutineTests.test_function_returning_awaitable.Awaitable
|
test_futures.py | 186 fut.__await__()
|
test_tasks.py | 77 def __await__(self): member in class:CoroLikeObject 219 def __await__(self): member in class:BaseTaskTests.test_ensure_future_awaitable.Aw [all...] |
test_events.py | 70 def __await__(self): member in class:CoroLike [all...] |
/external/python/cpython3/Lib/ |
types.py | 235 __await__ = __iter__ variable in class:_GeneratorWrapper
|
_collections_abc.py | 104 def __await__(self): member in class:Awaitable 110 return _check_methods(C, "__await__") 151 return _check_methods(C, '__await__', 'send', 'throw', 'close')
|
/external/python/cpython3/Objects/ |
typeobject.c | [all...] |