bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611) · python/cpython@59ee5b1 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 59ee5b1

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -924,8 +924,7 @@ enforced.
924 924 Return ``True`` if *obj* is a :ref:`coroutine object <coroutine>`.
925 925
926 926 This method is different from :func:`inspect.iscoroutine` because
927 - it returns ``True`` for generator-based coroutines decorated with
928 -:func:`@coroutine `.
927 + it returns ``True`` for generator-based coroutines.
929 928
930 929 .. function:: iscoroutinefunction(func)
931 930