Fix missing coroutine declaration in the asyncio documentation. (GH-5964)

(cherry picked from commit 13cfd57dcf)

Co-authored-by: Joongi Kim <me@daybreaker.info>
This commit is contained in:
Miss Islington (bot) 2018-03-03 13:23:31 -08:00 committed by GitHub
parent fbdd075c64
commit bd92cfe632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -630,7 +630,7 @@ Task functions
This function is a :ref:`coroutine <coroutine>`.
.. function:: shield(arg, \*, loop=None)
.. coroutinefunction:: shield(arg, \*, loop=None)
Wait for a future, shielding it from cancellation.