Skip to content

Commit

Permalink
pep-525: Fix the shutdown_asyncgens example.
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Dec 14, 2016
1 parent 65b1788 commit 3799435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pep-0525.txt
Expand Up @@ -278,8 +278,8 @@ An example of how ``shutdown_asyncgens`` coroutine should be used::

try:
loop.run_forever()
loop.run_until_complete(loop.shutdown_asyncgens())
finally:
loop.run_until_complete(loop.shutdown_asyncgens())
loop.close()


Expand Down

0 comments on commit 3799435

Please sign in to comment.