File size: 154 Bytes
60f5111
 
 
 
 
 
1
2
3
4
5
6
7
async def coro():      # a coroutine function
    await smth()

async def asyncgen():  # an asynchronous generator function
    await smth()
    yield 42