Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed documentation by removing obsolete reference.
Python 3.11 has removed support for `@asyncio.coroutine` and with it removed the documentation references for `asyncio.iscoroutinefunction()` such that the intersphinx reference is unavailable. The implementation of `asyncio.iscoroutinefunction()` still exists, however: https://github.com/python/cpython/blob/a1092f62492a3fcd6195bea94eccf8d5a300acb1/Lib/asyncio/coroutines.py#L21-L24 It looks as though it will be removed in the future: python/cpython#94912 As we still need to support Python < 3.11 where `@asyncio.coroutine` may be used we will likely need to vendor this until Python 3.11 is the minimum supported version when `inspect.iscoroutinefunction()` can be used directly instead. That will likely not be required until 3.12 though.
- Loading branch information