Skip to content

Commit

Permalink
update async_hello
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelliao committed May 20, 2015
1 parent 45c3995 commit 57c9c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/async/async_hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@asyncio.coroutine
def hello():
print("Hello world!")
yield from asyncio.sleep(1)
r = yield from asyncio.sleep(1)
print("Hello again!")

loop = asyncio.get_event_loop()
Expand Down

0 comments on commit 57c9c08

Please sign in to comment.