Home
last modified time | relevance | path

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

12

/third_party/python/Lib/test/
Dtest_asyncgen.py62 __anext__ = type(iterator).__anext__
67 return __anext__(iterator)
76 return await __anext__(iterator)
150 an = g.__anext__()
198 an = ai.__anext__()
208 an = ai.__anext__()
236 an = ai.__anext__()
247 ai.__anext__().__next__()
345 gen().__anext__().send(100)
481 async def __anext__(self): member in AsyncGenAsyncioTest.test_python_async_iterator_anext.MyAsyncIter
[all …]
Dtest_coroutines.py1497 async def __anext__(self): member in CoroutineTest.test_for_1.AsyncIter
1597 def __anext__(self): member in CoroutineTest.test_for_4.I
1634 async def __anext__(self): member in CoroutineTest.test_for_6.Iterable
1743 def __anext__(self): member in CoroutineTest.test_for_11.F
1766 async def __anext__(self): member in CoroutineTest.test_for_tuple.AIter
1789 async def __anext__(self): member in CoroutineTest.test_for_stop_iteration.AIter
Dtest_collections.py927 async def __anext__(self): member in TestOneTrickPonyABCs.test_AsyncIterator.AI
938 async def __anext__(self): member in TestOneTrickPonyABCs.test_AsyncIterator.AnextOnly
1221 def __anext__(self): return None member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen1
1227 def __anext__(self): return None member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen2
1245 async def __anext__(self): return None member in TestOneTrickPonyABCs.test_AsyncGenerator.Gen
1279 self.assertIs(run_async(mgen.asend(None)), run_async(mgen.__anext__()))
Dtest_contextlib_async.py377 self.assertEqual(-1, await x.__anext__())
Dtest_sys_settrace.py542 async def __anext__(self): member in TraceTestCase.test_20_async_for_loop.AsyncIteratorWrapper
Dtest_grammar.py1961 async def __anext__(self): member in GrammarTests.test_async_for.AIter
/third_party/node/tools/inspector_protocol/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__()
/third_party/jinja2/
Dasyncsupport.py43 yield loop.run_until_complete(async_gen.__anext__())
217 self._after = await self._iterator.__anext__()
239 async def __anext__(self): member in AsyncLoopContext
244 rv = await self._iterator.__anext__()
Druntime.py620 self._after = await self._iterator.__anext__()
642 async def __anext__(self) -> t.Tuple[t.Any, "AsyncLoopContext"]: member in AsyncLoopContext
647 rv = await self._iterator.__anext__()
Dasyncfilters.py70 return await auto_aiter(seq).__anext__()
Dfilters.py641 return await auto_aiter(seq).__anext__()
/third_party/skia/third_party/externals/jinja2/
Dasyncsupport.py43 yield loop.run_until_complete(async_gen.__anext__())
217 self._after = await self._iterator.__anext__()
239 async def __anext__(self): member in AsyncLoopContext
244 rv = await self._iterator.__anext__()
Dasyncfilters.py70 return await auto_aiter(seq).__anext__()
/third_party/python/Lib/unittest/test/testmock/
Dtestasync.py519 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__))
/third_party/python/Doc/library/
Dcollections.abc.rst178 :class:`AsyncIterator` [1]_ :class:`AsyncIterable` ``__anext__`` ``__aiter__``
179 …tor` [1]_ :class:`AsyncIterator` ``asend``, ``athrow`` ``aclose``, ``__aiter__``, ``__anext__``
337 ABC for classes that provide ``__aiter__`` and ``__anext__``
/third_party/python/Lib/
D_collections_abc.py188 async def __anext__(self): member in AsyncIterator
206 async def __anext__(self): member in AsyncGenerator
/third_party/python/Lib/asyncio/
Dstreams.py722 async def __anext__(self): member in StreamReader
/third_party/python/Doc/
Dglossary.rst116 :meth:`__anext__` method returns an awaitable object which will execute
123 resumes with another awaitable returned by :meth:`__anext__`, it
132 An object that implements the :meth:`__aiter__` and :meth:`__anext__`
133 methods. ``__anext__`` must return an :term:`awaitable` object.
135 iterator's :meth:`__anext__` method until it raises a
/third_party/python/Misc/NEWS.d/
D3.10.0rc2.rst39 Fix PyAiter_Check to only check for the __anext__ presence (not for
D3.6.1rc1.rst8 __aiter__ and __anext__.
/third_party/python/Doc/reference/
Dcompound_stmts.rst1421 its ``__anext__`` method.
1441 TARGET = await type(iter).__anext__(iter)
1449 See also :meth:`__aiter__` and :meth:`__anext__` for details.
Ddatamodel.rst681 :meth:`aiterator.__anext__ <object.__anext__>` method
2946 its ``__anext__`` method.
2954 .. method:: object.__anext__(self)
2968 async def __anext__(self):
Dexpressions.rst642 :meth:`~agen.__anext__` is used then the result is :const:`None`. Otherwise, if
691 .. coroutinemethod:: agen.__anext__()
695 asynchronous generator function is resumed with an :meth:`~agen.__anext__`
/third_party/python/Doc/c-api/
Dtypeobj.rst200 …`~PyAsyncMethods.am_anext` | :c:type:`unaryfunc` | __anext__ |
2442 Must return an :term:`awaitable` object. See :meth:`__anext__` for details.
2453 Must return an :term:`awaitable` object. See :meth:`__anext__` for details.

12