Unverified Kaydet (Commit) bd92cfe6 authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) GitHub

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

(cherry picked from commit 13cfd57d)
Co-authored-by: 's avatarJoongi Kim <me@daybreaker.info>
üst fbdd075c
......@@ -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.
......
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