Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ AIter
Class
AIter
Lib/test/test_grammar.py:2007–2011 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2005
class
Done(Exception):
pass
2006
2007
class
AIter:
2008
def
__aiter__(self):
2009
return
self
2010
async
def
__anext__(self):
2011
raise
StopAsyncIteration
2012
2013
async
def
foo():
2014
async
for
i in AIter():
Callers
1
foo
Method · 0.70
Calls
no outgoing calls
Tested by
1
foo
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…