ID EN
Inspect

CO_ASYNC_GENERATOR

Python 3.11

The flag is set when the code object is an asynchronous generator function. When the code object is executed it returns an asynchronous generator object. See PEP 525 for more details.

Syntax

PYTHON
inspect.CO_ASYNC_GENERATOR