/external/python/cpython3/Lib/test/ |
D | test_asyncgen.py | 114 an = g.__anext__() 162 an = ai.__anext__() 172 an = ai.__anext__() 200 an = ai.__anext__() 211 ai.__anext__().__next__() 309 gen().__anext__().send(100) 431 self.assertEqual(await it.__anext__(), 1) 432 self.assertEqual(await it.__anext__(), 2) 433 self.assertEqual(await it.__anext__(), 3) 434 self.assertEqual(await it.__anext__(), 4) [all …]
|
D | test_coroutines.py | 1489 async def __anext__(self): member in CoroutineTest.test_for_1.AsyncIter 1589 def __anext__(self): member in CoroutineTest.test_for_4.I 1626 async def __anext__(self): member in CoroutineTest.test_for_6.Iterable 1735 def __anext__(self): member in CoroutineTest.test_for_11.F 1758 async def __anext__(self): member in CoroutineTest.test_for_tuple.AIter 1781 async def __anext__(self): member in CoroutineTest.test_for_stop_iteration.AIter
|
D | test_collections.py | 911 async def __anext__(self): member in TestOneTrickPonyABCs.test_AsyncIterator.AI 922 async def __anext__(self): member in TestOneTrickPonyABCs.test_AsyncIterator.AnextOnly 1205 def __anext__(self): return None member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen1 1211 def __anext__(self): return None member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen2 1229 async def __anext__(self): return None member in TestOneTrickPonyABCs.test_AsyncGenerator.Gen 1263 self.assertIs(run_async(mgen.asend(None)), run_async(mgen.__anext__()))
|
D | test_sys_settrace.py | 537 async def __anext__(self): member in TraceTestCase.test_20_async_for_loop.AsyncIteratorWrapper
|
D | test_grammar.py | 1859 async def __anext__(self): member in GrammarTests.test_async_for.AIter
|
/external/libchrome/third_party/jinja2/ |
D | asyncsupport.py | 48 yield loop.run_until_complete(async_gen.__anext__()) 219 async def __anext__(self): member in AsyncLoopContextIterator 227 ctx._after = await ctx._async_iterator.__anext__() 252 after = await async_iterator.__anext__()
|
D | asyncfilters.py | 64 return await auto_aiter(seq).__anext__()
|
/external/python/jinja/src/jinja2/ |
D | asyncsupport.py | 40 yield loop.run_until_complete(async_gen.__anext__()) 214 self._after = await self._iterator.__anext__() 236 async def __anext__(self): member in AsyncLoopContext 241 rv = await self._iterator.__anext__()
|
D | asyncfilters.py | 70 return await auto_aiter(seq).__anext__()
|
/external/python/cpython3/Doc/library/ |
D | collections.abc.rst | 95 :class:`AsyncIterator` :class:`AsyncIterable` ``__anext__`` ``__aiter__`` 96 …nerator` :class:`AsyncIterator` ``asend``, ``athrow`` ``aclose``, ``__aiter__``, ``__anext__`` 235 ABC for classes that provide ``__aiter__`` and ``__anext__``
|
D | exceptions.rst | 388 Must be raised by :meth:`__anext__` method of an
|
D | dis.rst | 594 Implements ``PUSH(get_awaitable(TOS.__anext__()))``. See ``GET_AWAITABLE``
|
D | unittest.mock.rst | 2031 * Asynchronous iteration methods: ``__aiter__`` and ``__anext__`` 2037 Added support for ``__aenter__``, ``__aexit__``, ``__aiter__`` and ``__anext__``.
|
/external/python/cpython3/Lib/ |
D | contextlib.py | 175 return await self.gen.__anext__() 182 await self.gen.__anext__()
|
D | _collections_abc.py | 184 async def __anext__(self): member in AsyncIterator 202 async def __anext__(self): member in AsyncGenerator
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testasync.py | 519 self.assertIsInstance(m_mock.__anext__, AsyncMock) 673 async def __anext__(self): pass member in AsyncIteratorTest.WithAsyncIterator 692 self.assertTrue(iscoroutinefunction(instance.__anext__)) 693 self.assertTrue(iscoroutinefunction(mock_instance.__anext__))
|
/external/python/cpython3/Lib/asyncio/ |
D | streams.py | 737 async def __anext__(self): member in StreamReader
|
/external/python/cpython3/Doc/ |
D | glossary.rst | 114 :meth:`__anext__` method returns an awaitable object which will execute 121 resumes with another awaitable returned by :meth:`__anext__`, it 130 An object that implements the :meth:`__aiter__` and :meth:`__anext__` 131 methods. ``__anext__`` must return an :term:`awaitable` object. 133 iterator's :meth:`__anext__` method until it raises a
|
/external/python/cpython3/Doc/reference/ |
D | compound_stmts.rst | 824 TARGET = await type(iter).__anext__(iter) 832 See also :meth:`__aiter__` and :meth:`__anext__` for details.
|
D | expressions.rst | 642 :meth:`~agen.__anext__` is used then the result is :const:`None`. Otherwise, if 681 .. coroutinemethod:: agen.__anext__() 685 asynchronous generator function is resumed with an :meth:`~agen.__anext__`
|
D | datamodel.rst | 678 Calling the asynchronous iterator's :meth:`aiterator.__anext__` method 2731 its ``__anext__`` method. 2739 .. method:: object.__anext__(self) 2753 async def __anext__(self):
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.1rc1.rst | 8 __aiter__ and __anext__.
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 200 …:`~PyAsyncMethods.am_anext` | :c:type:`unaryfunc` | __anext__ | 2325 Must return an :term:`awaitable` object. See :meth:`__anext__` for details. 2336 Must return an :term:`awaitable` object. See :meth:`__anext__` for details.
|
/external/python/cpython3/Lib/unittest/ |
D | mock.py | 2886 async def __anext__(self): member in _AsyncIterator
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_base_events.py | 950 item = await ai.__anext__()
|