]> granicus.if.org Git - python/commitdiff
bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611)
authorYury Selivanov <yury@magic.io>
Thu, 27 Sep 2018 19:48:30 +0000 (15:48 -0400)
committerGitHub <noreply@github.com>
Thu, 27 Sep 2018 19:48:30 +0000 (15:48 -0400)
Doc/library/asyncio-task.rst

index 1a504363946ed2ed2217a9966217f2eee152b089..d7102b807b60c57d8736a696b176819299706c3c 100644 (file)
@@ -924,8 +924,7 @@ enforced.
    Return ``True`` if *obj* is a :ref:`coroutine object <coroutine>`.
 
    This method is different from :func:`inspect.iscoroutine` because
-   it returns ``True`` for generator-based coroutines decorated with
-   :func:`@coroutine <coroutine>`.
+   it returns ``True`` for generator-based coroutines.
 
 .. function:: iscoroutinefunction(func)