/external/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 222 ExprResult Awaitable = buildOperatorCoawaitCall(*this, S, Loc, E); in ActOnCoawaitExpr() local 223 if (Awaitable.isInvalid()) in ActOnCoawaitExpr() 225 return BuildCoawaitExpr(Loc, Awaitable.get()); in ActOnCoawaitExpr() 282 ExprResult Awaitable = in ActOnCoyieldExpr() local 284 if (Awaitable.isInvalid()) in ActOnCoyieldExpr() 288 Awaitable = buildOperatorCoawaitCall(*this, S, Loc, Awaitable.get()); in ActOnCoyieldExpr() 289 if (Awaitable.isInvalid()) in ActOnCoyieldExpr() 292 return BuildCoyieldExpr(Loc, Awaitable.get()); in ActOnCoyieldExpr()
|
/external/python/cpython3/Lib/test/ |
D | test_coroutines.py | 970 class Awaitable: class 975 return (await Awaitable()) 983 class Awaitable: class 988 return (await Awaitable()) 993 class Awaitable: class 999 return (await Awaitable()) 1004 class Awaitable: class 1007 async def foo(): return await Awaitable() 1068 class Awaitable: class 1073 return await Awaitable() [all …]
|
D | test_collections.py | 20 from collections.abc import Awaitable, Coroutine 703 self.assertNotIsInstance(x, Awaitable) 704 self.assertFalse(issubclass(type(x), Awaitable), repr(type(x))) 708 self.assertIsInstance(x, Awaitable) 709 self.assertTrue(issubclass(type(x), Awaitable)) 715 self.assertNotIsInstance(c, Awaitable) 718 self.assertIsInstance(c, Awaitable) 723 self.assertTrue(isinstance(CoroLike(), Awaitable)) 724 self.assertTrue(issubclass(CoroLike, Awaitable)) 758 self.assertIsInstance(x, Awaitable) [all …]
|
D | test_types.py | 1356 class Awaitable: class 1359 aw = Awaitable() 1446 self.assertIsInstance(wrapper, collections.abc.Awaitable)
|
D | test_typing.py | 2962 self.assertIsInstance(g, typing.Awaitable) 2963 self.assertNotIsInstance(foo, typing.Awaitable)
|
/external/python/cpython3/Doc/library/ |
D | collections.abc.rst | 92 :class:`Awaitable` ``__await__`` 93 :class:`Coroutine` :class:`Awaitable` ``send``, ``throw`` ``close`` 182 .. class:: Awaitable 195 Using ``isinstance(gencoro, Awaitable)`` for them will return ``False``. 207 :class:`Awaitable`. See also the definition of :term:`coroutine`.
|
D | typing.rst | 730 .. class:: Awaitable(Generic[T_co]) 732 A generic version of :class:`collections.abc.Awaitable`. 736 .. class:: Coroutine(Awaitable[V_co], Generic[T_co T_contra, V_co])
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_pep492.py | 130 class Awaitable: class 137 return Awaitable()
|
/external/python/cpython3/Lib/asyncio/ |
D | staggered.py | 15 coro_fns: typing.Iterable[typing.Callable[[], typing.Awaitable]], argument
|
D | coroutines.py | 135 if isinstance(res, collections.abc.Awaitable):
|
/external/python/cpython3/Lib/ |
D | _collections_abc.py | 99 class Awaitable(metaclass=ABCMeta): class 109 if cls is Awaitable: 114 class Coroutine(Awaitable):
|
D | typing.py | 1436 Awaitable = _alias(collections.abc.Awaitable, T_co) variable
|
D | inspect.py | 234 isinstance(object, collections.abc.Awaitable))
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b3.rst | 42 instance of collections.abc.Generator; collections.abc.Awaitable and
|
D | 3.6.0a2.rst | 271 Also classes for :pep:`492` (Awaitable, AsyncIterable, AsyncIterator) have been
|
D | 3.5.2rc1.rst | 426 Also classes for :pep:`492` (Awaitable, AsyncIterable, AsyncIterator) have been
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 948 New :class:`~collections.abc.Awaitable`, :class:`~collections.abc.Coroutine`,
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 2582 Awaitable Objects
|