From 85ccedc5b57ddda198e7176ba787e3896435c504 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 27 Sep 2018 12:53:18 -0700 Subject: [PATCH] bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611) (cherry picked from commit 59ee5b12938efbf534f2a19300a847bf6b23a77d) Co-authored-by: Yury Selivanov --- Doc/library/asyncio-task.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 5cbdfeff32f..198bd7d07a0 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -893,8 +893,7 @@ enforced. Return ``True`` if *obj* is a :ref:`coroutine object `. This method is different from :func:`inspect.iscoroutine` because - it returns ``True`` for generator-based coroutines decorated with - :func:`@coroutine `. + it returns ``True`` for generator-based coroutines. .. function:: iscoroutinefunction(func)