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

Method __anext__

Lib/asyncio/tasks.py:582–587  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

580 return self
581
582 async def __anext__(self):
583 if not self._todo_left:
584 raise StopAsyncIteration
585 assert self._todo_left > 0
586 self._todo_left -= 1
587 return await self._wait_for_one()
588
589 def __next__(self):
590 if not self._todo_left:

Callers

nothing calls this directly

Calls 1

_wait_for_oneMethod · 0.95

Tested by

no test coverage detected