MCPcopy Index your code
hub / github.com/python/cpython / __aiter__

Method __aiter__

Lib/test/test_asyncgen.py:744–746  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

742 results = []
743 class Gen:
744 async def __aiter__(self):
745 yield 1
746 yield 2
747 g = Gen()
748 async def consume():
749 ait = aiter(g)

Callers 6

run1Method · 0.45
run2Method · 0.45
runMethod · 0.45

Calls 1

sleepMethod · 0.45

Tested by

no test coverage detected