[Python-checkins] bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611)

Yury Selivanov webhook-mailer at python.org
Thu Sep 27 15:48:33 EDT 2018


https://github.com/python/cpython/commit/59ee5b12938efbf534f2a19300a847bf6b23a77d
commit: 59ee5b12938efbf534f2a19300a847bf6b23a77d
branch: master
author: Yury Selivanov <yury at magic.io>
committer: GitHub <noreply at github.com>
date: 2018-09-27T15:48:30-04:00
summary:

bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611)

files:
M Doc/library/asyncio-task.rst

diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 1a504363946e..d7102b807b60 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)
 



More information about the Python-checkins mailing list