Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __anext__
Method
__anext__
Lib/asyncio/streams.py:769–773 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
767
return
self
768
769
async
def
__anext__(self):
770
val = await self.readline()
771
if
val == b
''
:
772
raise
StopAsyncIteration
773
return
val
Callers
nothing calls this directly
Calls
1
readline
Method · 0.95
Tested by
no test coverage detected