Skip to content

Commit ebd5251

Browse files
committed
Add async keyword to runner()
1 parent 28936b4 commit ebd5251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asyncio/funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async def wait_for(aw, timeout, sleep=core.sleep):
3131
if timeout is None:
3232
return await aw
3333

34-
def runner(waiter, aw):
34+
async def runner(waiter, aw):
3535
nonlocal status, result
3636
try:
3737
result = await aw

0 commit comments

Comments
 (0)