Home
last modified time | relevance | path

Searched refs:__anext__ (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_asyncgen.py115 g.__anext__().__next__()
154 self.assertEqual(ai.__anext__().__next__(), ('result',))
157 ai.__anext__().__next__()
163 self.assertEqual(ai.__anext__().__next__(), ('result',))
166 ai.__anext__().__next__()
190 self.assertEqual(ai.__anext__().__next__(), ('result',))
193 ai.__anext__().__next__()
200 ai.__anext__().__next__()
298 gen().__anext__().send(100)
388 self.assertEqual(await it.__anext__(), 1)
[all …]
Dtest_coroutines.py1488 async def __anext__(self): member in CoroutineTest.test_for_1.AsyncIter
1588 def __anext__(self): member in CoroutineTest.test_for_4.I
1625 async def __anext__(self): member in CoroutineTest.test_for_6.Iterable
1734 def __anext__(self): member in CoroutineTest.test_for_11.F
1757 async def __anext__(self): member in CoroutineTest.test_for_tuple.AIter
1780 async def __anext__(self): member in CoroutineTest.test_for_stop_iteration.AIter
Dtest_collections.py761 async def __anext__(self): member in TestOneTrickPonyABCs.test_AsyncIterator.AI
772 async def __anext__(self): member in TestOneTrickPonyABCs.test_AsyncIterator.AnextOnly
1056 def __anext__(self): return None member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen1
1062 def __anext__(self): return None member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen2
1080 async def __anext__(self): return None member in TestOneTrickPonyABCs.test_AsyncGenerator.Gen
1114 self.assertIs(run_async(mgen.asend(None)), run_async(mgen.__anext__()))
Dtest_grammar.py1479 async def __anext__(self): member in GrammarTests.test_async_for.AIter
/external/libchrome/third_party/jinja2/
Dasyncsupport.py48 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__()
Dasyncfilters.py64 return await auto_aiter(seq).__anext__()
/external/python/cpython3/Doc/library/
Dcollections.abc.rst95 :class:`AsyncIterator` :class:`AsyncIterable` ``__anext__`` ``__aiter__``
96 …nerator` :class:`AsyncIterator` ``asend``, ``athrow`` ``aclose``, ``__aiter__``, ``__anext__``
227 ABC for classes that provide ``__aiter__`` and ``__anext__``
Dexceptions.rst388 Must be raised by :meth:`__anext__` method of an
Ddis.rst577 Implements ``PUSH(get_awaitable(TOS.__anext__()))``. See ``GET_AWAITABLE``
/external/python/cpython3/Lib/
Dcontextlib.py170 return await self.gen.__anext__()
177 await self.gen.__anext__()
D_collections_abc.py178 async def __anext__(self): member in AsyncIterator
196 async def __anext__(self): member in AsyncGenerator
/external/python/cpython3/Lib/asyncio/
Dstreams.py693 async def __anext__(self): member in StreamReader
/external/python/cpython3/Doc/
Dglossary.rst110 :meth:`__anext__` method returns an awaitable object which will execute
117 resumes with another awaitable returned by :meth:`__anext__`, it
126 An object that implements the :meth:`__aiter__` and :meth:`__anext__`
127 methods. ``__anext__`` must return an :term:`awaitable` object.
129 iterator's :meth:`__anext__` method until it raises a
/external/python/cpython3/Doc/reference/
Dcompound_stmts.rst783 TARGET = await type(iter).__anext__(iter)
791 See also :meth:`__aiter__` and :meth:`__anext__` for details.
Dexpressions.rst638 :meth:`~agen.__anext__` is used then the result is :const:`None`. Otherwise, if
677 .. coroutinemethod:: agen.__anext__()
681 asynchronous generator function is resumed with a :meth:`~agen.__anext__`
Ddatamodel.rst649 Calling the asynchronous iterator's :meth:`aiterator.__anext__` method
2636 its ``__anext__`` method.
2644 .. method:: object.__anext__(self)
2658 async def __anext__(self):
/external/python/cpython3/Misc/NEWS.d/
D3.6.1rc1.rst8 __aiter__ and __anext__.
D3.7.0a1.rst709 __aiter__ and __anext__.
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst1406 Must return an :term:`awaitable` object. See :meth:`__anext__` for details.
1417 Must return an :term:`awaitable` object. See :meth:`__anext__` for details.
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_base_events.py933 item = await ai.__anext__()
/external/python/cpython3/Objects/
Dtypeobject.c6716 _Py_IDENTIFIER(__anext__); in slot_am_anext()