Home
last modified time | relevance | path

Searched refs:__aiter__ (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_asyncgen.py160 ai = g.__aiter__()
199 ai = g.__aiter__()
408 async def __aiter__(self): member in AsyncGenAsyncioTest.test_async_gen_asyncio_03.Gen
429 it = foo().__aiter__()
441 it = foo().__aiter__()
465 it = foo().__aiter__()
536 it = foo().__aiter__()
555 it = foo().__aiter__()
581 it = gen.__aiter__()
606 it = gen.__aiter__()
[all …]
Dtest_coroutines.py1484 def __aiter__(self): member in CoroutineTest.test_for_1.AsyncIter
1566 def __aiter__(self): member in CoroutineTest.test_for_3.I
1586 def __aiter__(self): member in CoroutineTest.test_for_4.I
1623 def __aiter__(self): member in CoroutineTest.test_for_6.Iterable
1702 def __aiter__(self): member in CoroutineTest.test_for_7.AI
1716 def __aiter__(self): member in CoroutineTest.test_for_8.AI
1733 def __aiter__(self): member in CoroutineTest.test_for_11.F
1756 def __aiter__(self): member in CoroutineTest.test_for_tuple.AIter
1779 def __aiter__(self): member in CoroutineTest.test_for_stop_iteration.AIter
Dtest_collections.py895 def __aiter__(self): member in TestOneTrickPonyABCs.test_AsyncIterable.AI
909 def __aiter__(self): member in TestOneTrickPonyABCs.test_AsyncIterator.AI
1204 def __aiter__(self): return self member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen1
1210 def __aiter__(self): return self member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen2
1228 def __aiter__(self): return self member in TestOneTrickPonyABCs.test_AsyncGenerator.Gen
1262 self.assertIs(mgen, mgen.__aiter__())
Dtest_sys_settrace.py534 def __aiter__(self): member in TraceTestCase.test_20_async_for_loop.AsyncIteratorWrapper
Dtest_grammar.py1857 def __aiter__(self): member in GrammarTests.test_async_for.AIter
/external/python/cpython3/Doc/library/
Dcollections.abc.rst94 :class:`AsyncIterable` ``__aiter__``
95 :class:`AsyncIterator` :class:`AsyncIterable` ``__anext__`` ``__aiter__``
96 :class:`AsyncGenerator` :class:`AsyncIterator` ``asend``, ``athrow`` ``aclose``, ``__aiter__``…
228 ABC for classes that provide ``__aiter__`` method. See also the
235 ABC for classes that provide ``__aiter__`` and ``__anext__``
Dunittest.mock-examples.rst284 :ref:`async-iterators` through ``__aiter__``. The :attr:`~Mock.return_value`
285 attribute of ``__aiter__`` can be used to set the return values to be used for
289 >>> mock.__aiter__.return_value = [1, 2, 3]
Ddis.rst584 Implements ``TOS = TOS.__aiter__()``.
588 Returning awaitable objects from ``__aiter__`` is no longer
Dunittest.mock.rst2031 * Asynchronous iteration methods: ``__aiter__`` and ``__anext__``
2037 Added support for ``__aenter__``, ``__aexit__``, ``__aiter__`` and ``__anext__``.
/external/libchrome/third_party/jinja2/
Dasyncsupport.py206 def __aiter__(self): member in AsyncLoopContext
216 def __aiter__(self): member in AsyncLoopContextIterator
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestasync.py522 self.assertIsInstance(m_mock.__aiter__, MagicMock)
671 def __aiter__(self): pass member in AsyncIteratorTest.WithAsyncIterator
677 mock_iter.__aiter__.return_value = [1, 2, 3]
689 self.assertFalse(iscoroutinefunction(instance.__aiter__))
690 self.assertFalse(iscoroutinefunction(mock_instance.__aiter__))
716 mock_instance.__aiter__.return_value = expected[:]
721 mock_instance.__aiter__.return_value = iter(expected[:])
/external/python/jinja/src/jinja2/
Dasyncsupport.py233 def __aiter__(self): member in AsyncLoopContext
/external/python/cpython3/Lib/
D_collections_abc.py167 def __aiter__(self): member in AsyncIterable
188 def __aiter__(self): member in AsyncIterator
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b4.rst87 the issue, __aiter__ returning an awaitable should result in
D3.7.0a2.rst39 Drop support of asynchronous __aiter__.
D3.6.0a2.rst106 Update the __aiter__ protocol: instead of returning an awaitable that
D3.6.1rc1.rst8 __aiter__ and __anext__.
D3.5.2rc1.rst369 Update the __aiter__ protocol: instead of returning an awaitable that
/external/python/cpython3/Lib/asyncio/
Dstreams.py734 def __aiter__(self): member in StreamReader
/external/python/cpython3/Lib/unittest/
Dmock.py1998 def __aiter__(): function
1999 ret_val = self.__aiter__._mock_return_value
2003 return __aiter__
/external/python/cpython3/Doc/reference/
Dcompound_stmts.rst819 iter = type(iter).__aiter__(iter)
832 See also :meth:`__aiter__` and :meth:`__anext__` for details.
Ddatamodel.rst2735 .. method:: object.__aiter__(self)
2750 def __aiter__(self):
2762 Prior to Python 3.7, ``__aiter__`` could return an *awaitable*
2766 Starting with Python 3.7, ``__aiter__`` must return an
/external/python/cpython3/Doc/
Dglossary.rst127 :meth:`__aiter__` method. Introduced by :pep:`492`.
130 An object that implements the :meth:`__aiter__` and :meth:`__anext__`
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_base_events.py946 ai = ag.__aiter__()
/external/python/cpython3/Tools/c-analyzer/
DTODO450 Objects/typeobject.c:slot_am_aiter():PyId___aiter__ _Py_IDENTIFIER(__aiter__)

12