From 59ee5b12938efbf534f2a19300a847bf6b23a77d Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Thu, 27 Sep 2018 15:48:30 -0400 Subject: bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611) --- 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 1a50436..d7102b8 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -924,8 +924,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) -- cgit v0.12