]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 27 Sep 2018 19:53:18 +0000 (12:53 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Sep 2018 19:53:18 +0000 (12:53 -0700)
(cherry picked from commit 59ee5b12938efbf534f2a19300a847bf6b23a77d)

Co-authored-by: Yury Selivanov <yury@magic.io>
Doc/library/asyncio-task.rst

index 5cbdfeff32f56595ab36dc6cf421f32258fd8a0e..198bd7d07a01bfd1718153e9781d385666106d89 100644 (file)
@@ -893,8 +893,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)