summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-09-27 19:48:30 (GMT)
committerGitHub <noreply@github.com>2018-09-27 19:48:30 (GMT)
commit59ee5b12938efbf534f2a19300a847bf6b23a77d (patch)
treec990148a73fc4b5281bceab2712fb04a2da47fd3
parent994269ccee5574f03cda6b018399347fc52bf330 (diff)
downloadcpython-59ee5b12938efbf534f2a19300a847bf6b23a77d.zip
cpython-59ee5b12938efbf534f2a19300a847bf6b23a77d.tar.gz
cpython-59ee5b12938efbf534f2a19300a847bf6b23a77d.tar.bz2
bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611)
-rw-r--r--Doc/library/asyncio-task.rst3
1 files changed, 1 insertions, 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 <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)