You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments