Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
highlighting
/
yieldInsideAsyncDefPy36.py
blob: 3d544c33b01110dadf83405618498795917e7466 [
file
]
async
def
foo
(
x
):
await x
yield
x
<
error descr
=
"Python does not support 'yield from' inside async functions"
>
yield
from
x
</
error
>
<
error descr
=
"non-empty 'return' inside asynchronous generator"
>
return
x
</
error
>