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.
(obj)
| 329 | return _has_code_flag(obj, CO_COROUTINE) or _has_coroutine_mark(obj) |
| 330 | |
| 331 | def isasyncgenfunction(obj): |
| 332 | """Return true if the object is an asynchronous generator function. |
| 333 | |
| 334 | Asynchronous generator functions are defined with "async def" |
| 335 | syntax and have "yield" expressions in their body. |
| 336 | """ |
| 337 | return _has_code_flag(obj, CO_ASYNC_GENERATOR) |
| 338 | |
| 339 | def isasyncgen(object): |
| 340 | """Return true if the object is an asynchronous generator.""" |
nothing calls this directly
no test coverage detected
searching dependent graphs…