Skip to content

Commit 57c9c08

Browse files
committed
update async_hello
1 parent 45c3995 commit 57c9c08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/async/async_hello.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@asyncio.coroutine
77
def hello():
88
print("Hello world!")
9-
yield from asyncio.sleep(1)
9+
r = yield from asyncio.sleep(1)
1010
print("Hello again!")
1111

1212
loop = asyncio.get_event_loop()

0 commit comments

Comments
 (0)