ID EN
Built-in Exceptions

StopAsyncIteration

Python 3.11

Must be raised by __anext__() method of an asynchronous iterator object to stop the iteration.

Syntax

PYTHON
exception StopAsyncIteration

See Also

__anext__() asynchronous iterator