/third_party/python/Lib/test/ |
H A D | test_asyncgen.py | 198 ai = g.__aiter__() 237 ai = g.__aiter__() 481 def __aiter__(self): member in AsyncGenAsyncioTest.test_python_async_iterator_anext.MyAsyncIter 497 def __aiter__(self): member in AsyncGenAsyncioTest.test_python_async_iterator_types_coroutine_anext.MyAsyncIterWithTypesCoro 523 async def __aiter__(self): member in AsyncGenAsyncioTest.test_async_gen_aiter_class.Gen 570 def __aiter__(self): member in AsyncGenAsyncioTest.test_anext_bad_await.bad_awaitable.MyAsyncIter 596 def __aiter__(self): member in AsyncGenAsyncioTest.test_anext_return_iterator.WithIterAnext 605 def __aiter__(self): member in AsyncGenAsyncioTest.test_anext_return_generator.WithGenAnext 618 def __aiter__(self): member in AsyncGenAsyncioTest.test_anext_await_raises.WithRaisingAwaitableAnext 795 async def __aiter__(sel member in AsyncGenAsyncioTest.test_async_gen_asyncio_03.Gen [all...] |
H A D | test_coroutines.py | 1511 def __aiter__(self): member in CoroutineTest.test_for_1.AsyncIter 1534 # Make sure that __aiter__ was called only once 1552 # Make sure that __aiter__ was called only once 1570 # Make sure that __aiter__ was called only once 1585 TypeError, "async for' requires an object.*__aiter__.*tuple"): 1593 def __aiter__(self): member in CoroutineTest.test_for_3.I 1613 def __aiter__(self): member in CoroutineTest.test_for_4.I 1650 def __aiter__(self): member in CoroutineTest.test_for_6.Iterable 1676 # Test that __aiter__ that returns an asynchronous iterator 1729 def __aiter__(sel member in CoroutineTest.test_for_7.AI 1743 def __aiter__(self): global() member in CoroutineTest.test_for_8.AI 1760 def __aiter__(self): global() member in CoroutineTest.test_for_11.F 1783 def __aiter__(self): global() member in CoroutineTest.test_for_tuple.AIter 1806 def __aiter__(self): global() member in CoroutineTest.test_for_stop_iteration.AIter [all...] |
H A D | test_collections.py | 929 def __aiter__(self): member in TestOneTrickPonyABCs.test_AsyncIterable.AI 938 self.validate_abstract_methods(AsyncIterable, '__aiter__') 939 self.validate_isinstance(AsyncIterable, '__aiter__') 943 def __aiter__(self): member in TestOneTrickPonyABCs.test_AsyncIterator.AI 959 self.validate_abstract_methods(AsyncIterator, '__anext__', '__aiter__') 1238 def __aiter__(self): return self member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen1 1244 def __aiter__(self): return self member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen2 1262 def __aiter__(self): return self member in TestOneTrickPonyABCs.test_AsyncGenerator.Gen 1296 self.assertIs(mgen, mgen.__aiter__())
|
H A D | test_grammar.py | 1965 def __aiter__(self): member in GrammarTests.test_async_for.AIter
|
H A D | test_sys_settrace.py | 542 def __aiter__(self): member in TraceTestCase.test_20_async_for_loop.AsyncIteratorWrapper
|
H A D | test_typing.py | 5085 def __aiter__(self) -> typing.AsyncIterator[T_a]: member in AsyncIteratorWrapper
|
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testasync.py | 547 # __aiter__ is actually a synchronous object 549 self.assertIsInstance(m_mock.__aiter__, MagicMock) 698 def __aiter__(self): pass member in AsyncIteratorTest.WithAsyncIterator 704 mock_iter.__aiter__.return_value = [1, 2, 3] 715 # __aiter__ is not actually async, so not a coroutinefunction 716 self.assertFalse(iscoroutinefunction(instance.__aiter__)) 717 self.assertFalse(iscoroutinefunction(mock_instance.__aiter__)) 743 mock_instance.__aiter__.return_value = expected[:] 748 mock_instance.__aiter__.return_value = iter(expected[:])
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | asyncsupport.py | 182 if hasattr(iterable, '__aiter__'): 206 def __aiter__(self): member in AsyncLoopContext 216 def __aiter__(self): member in AsyncLoopContextIterator 245 if not hasattr(iterable, '__aiter__'):
|
/third_party/jinja2/ |
H A D | asyncsupport.py | 179 if hasattr(iterable, "__aiter__"): 236 def __aiter__(self): member in AsyncLoopContext
|
H A D | runtime.py | 639 def __aiter__(self) -> "AsyncLoopContext": member in AsyncLoopContext 890 async def __aiter__(self) -> t.AsyncIterator[t.Any]: member in Undefined
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | asyncsupport.py | 179 if hasattr(iterable, "__aiter__"): 236 def __aiter__(self): member in AsyncLoopContext
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | asyncsupport.py | 179 if hasattr(iterable, "__aiter__"): 236 def __aiter__(self): member in AsyncLoopContext
|
/third_party/python/Lib/ |
H A D | _collections_abc.py | 171 def __aiter__(self): member in AsyncIterable 177 return _check_methods(C, "__aiter__") 192 def __aiter__(self): member in AsyncIterator 198 return _check_methods(C, "__anext__", "__aiter__") 245 return _check_methods(C, '__aiter__', '__anext__',
|
/third_party/python/Include/internal/ |
H A D | pycore_global_strings.h | 68 STRUCT_FOR_ID(__aiter__)
|
H A D | pycore_runtime_init.h | 691 INIT_ID(__aiter__), \
|
/third_party/python/Lib/asyncio/ |
H A D | streams.py | 740 def __aiter__(self): member in StreamReader
|
/third_party/python/Lib/unittest/ |
H A D | mock.py | 2002 _sync_async_magics = {"__aiter__"} 2069 def __aiter__(): function 2070 ret_val = self.__aiter__._mock_return_value 2074 return __aiter__ 2080 '__aiter__': _get_async_iter
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_base_events.py | 952 ai = ag.__aiter__()
|
/third_party/python/Objects/ |
H A D | typeobject.c | 7947 func = lookup_maybe_method(self, &_Py_ID(__aiter__), &unbound); in slot_am_aiter() 7954 "object %.50s does not have __aiter__ method", in slot_am_aiter() 8095 AMSLOT("__aiter__", am_aiter, slot_am_aiter, wrap_unaryfunc, 8096 "__aiter__($self, /)\n--\n\nReturn an awaitable, that resolves in asynchronous iterator."),
|