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

This commit is contained in:
Yury Selivanov 2018-09-27 15:48:30 -04:00 committed by GitHub
parent 994269ccee
commit 59ee5b1293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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)