summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/asyncio-task.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 1c41972..39c1e93 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -592,7 +592,7 @@ Shielding From Cancellation
is equivalent to::
- res = await something()
+ res = await shield(something())
*except* that if the coroutine containing it is cancelled, the
Task running in ``something()`` is not cancelled. From the point