Commit 13cfd57d authored by Joongi Kim's avatar Joongi Kim Committed by Andrew Svetlov

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

parent b21d155f
......@@ -682,7 +682,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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment