The documentation for `asyncio.iscoroutinefunction()` is missing

I noticed that the asyncio.iscoroutinefunction() function has disappeared from the reference documentation starting from Python 3.11, even though it was not previously deprecated and still exists in the language in Python 3.13. In addition, the documentation for the function asyncio.iscoroutine() seems to have been truncated, as the second paragraph of the original text (“This method is different from inspect.iscoroutine() …”) is missing. Is there a specific reason for this, or is it an error? Thank you.

Removed in GH-26369 (diff). I’d suggest opening a PR to restore the documentation, assuming one doesn’t already exist.

The function has been deprecated, but it should probably have a .. deprecated-removed:: directive and entry pointing towards inspect.iscoroutinefunction.

A

1 Like