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

Miss Islington (bot) webhook-mailer at python.org
Thu Sep 27 15:53:22 EDT 2018


https://github.com/python/cpython/commit/85ccedc5b57ddda198e7176ba787e3896435c504
commit: 85ccedc5b57ddda198e7176ba787e3896435c504
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018年09月27日T12:53:18-07:00
summary:
bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611)
(cherry picked from commit 59ee5b12938efbf534f2a19300a847bf6b23a77d)
Co-authored-by: Yury Selivanov <yury at magic.io>
files:
M Doc/library/asyncio-task.rst
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 <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

AltStyle によって変換されたページ (->オリジナル) /