Skip to content

Commit 59ee5b1

Browse files
authored
bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611)
1 parent 994269c commit 59ee5b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/asyncio-task.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,8 +924,7 @@ enforced.
924924
Return ``True`` if *obj* is a :ref:`coroutine object <coroutine>`.
925925

926926
This method is different from :func:`inspect.iscoroutine` because
927-
it returns ``True`` for generator-based coroutines decorated with
928-
:func:`@coroutine <coroutine>`.
927+
it returns ``True`` for generator-based coroutines.
929928

930929
.. function:: iscoroutinefunction(func)
931930

0 commit comments

Comments
 (0)