Merge pull request #40 from controversial/patch-1

Fix typo in PEP 492
This commit is contained in:
Brett Cannon 2016-07-01 09:42:18 -07:00 committed by GitHub
commit 0bae54e208
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@ coroutines::
@asyncio.coroutine @asyncio.coroutine
def useful(): def useful():
asyncio.sleep(1) # this will do noting without 'yield from' asyncio.sleep(1) # this will do nothing without 'yield from'
For debugging this kind of mistakes there is a special debug mode in For debugging this kind of mistakes there is a special debug mode in
asyncio, in which ``@coroutine`` decorator wraps all functions with a asyncio, in which ``@coroutine`` decorator wraps all functions with a