Last active
January 27, 2017 22:47
-
-
Save hellysmile/54412a3154892bbd751679b2f68e9a94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
from functools import partial | |
async def foo(): | |
pass | |
print(asyncio.iscoroutinefunction(foo)) | |
bar = partial(foo) | |
print(asyncio.iscoroutinefunction(bar)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
True
False