Staging: this is not the live site, pydocs.org.
Return true if the object is an asynchronous generator function.
Asynchronous generator functions are defined with "async def"
syntax and have "yield" expressions in their body. Changed in 3.8, 3.10.6, 3.13 3.8: Functions wrapped in functools.partial() now return True if the wrapped function is an asynchronous generator function.3.10.6: Duck-typed function-like objects now return True if their code object has the CO_ASYNC_GENERATOR flag.3.13: Functions wrapped in functools.partialmethod() now return True if the wrapped function is a asynchronous generator function.
Python docs © Python Software Foundation · Examples CC0 ·
Source on GitHub · Not affiliated with the PSF