diff options
author | Yury Selivanov <yury@magic.io> | 2018-09-27 19:48:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-27 19:48:30 (GMT) |
commit | 59ee5b12938efbf534f2a19300a847bf6b23a77d (patch) | |
tree | c990148a73fc4b5281bceab2712fb04a2da47fd3 | |
parent | 994269ccee5574f03cda6b018399347fc52bf330 (diff) | |
download | cpython-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.rst | 3 |
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) |