1 2 3 4 5 6
class F(y := list): ... def f(): class G((yield 1)): ... class H((yield from 1)): ... async def f(): class G((await 1)): ...