Skip to content

Instantly share code, notes, and snippets.

@kunigami

kunigami/async.py

Last active Feb 2, 2020
Embed
What would you like to do?
async def g_async():
return 10
# <class 'coroutine'>
print(type(g_async()))
def g_coro():
yield 10
# <class 'generator'>
print(type(g_async()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.