From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 27 Sep 2018 19:53:18 +0000 (-0700) Subject: bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611) X-Git-Tag: v3.7.1rc2~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85ccedc5b57ddda198e7176ba787e3896435c504;p=thirdparty%2FPython%2Fcpython.git bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611) (cherry picked from commit 59ee5b12938efbf534f2a19300a847bf6b23a77d) Co-authored-by: Yury Selivanov --- diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 5cbdfeff32f5..198bd7d07a01 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)