async def foo():
yield 42
yield from [1, 2, 3]
async def foo():
def _inner_foo():
yield 42
yield from [1, 2, 3]
Used when an yield
or yield from
statement is found inside an async
function. This message belongs to the async checker. It can’t be emitted when
using Python < 3.5.