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)