Commit 59ee5b12 authored by Yury Selivanov's avatar Yury Selivanov Committed by GitHub

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

parent 994269cc
...@@ -924,8 +924,7 @@ enforced. ...@@ -924,8 +924,7 @@ enforced.
Return ``True`` if *obj* is a :ref:`coroutine object <coroutine>`. Return ``True`` if *obj* is a :ref:`coroutine object <coroutine>`.
This method is different from :func:`inspect.iscoroutine` because This method is different from :func:`inspect.iscoroutine` because
it returns ``True`` for generator-based coroutines decorated with it returns ``True`` for generator-based coroutines.
:func:`@coroutine <coroutine>`.
.. function:: iscoroutinefunction(func) .. function:: iscoroutinefunction(func)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment