Add missing coroutine header for sleep_until

This commit is contained in:
Rapptz 2020-01-21 20:39:15 -05:00
parent d0a1956be9
commit 706a333287

View File

@ -340,7 +340,9 @@ async def sane_wait_for(futures, *, timeout):
return done
async def sleep_until(when, result=None):
"""Sleep until a specified time.
"""|coro|
Sleep until a specified time.
If the time supplied is in the past this function will yield instantly.