Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autodoc: Async staticmethods and classmethods are considered as not async #9078

Closed
tk0miya opened this issue Apr 10, 2021 · 0 comments
Closed

Comments

@tk0miya
Copy link
Member

tk0miya commented Apr 10, 2021

Describe the bug
autodoc: Async staticmethods and classmethods are considered as not async.
Since 3.10.0a7, the instances of staticmethod and classmethod have __wrapped__ attribute. It confuses sphinx.util.inspect:iscoroutinefunction().

refs:

To Reproduce
see https://github.com/sphinx-doc/sphinx/pull/9077/checks?check_run_id=2312247372

@tk0miya tk0miya added this to the 3.5.4 milestone Apr 10, 2021
@tk0miya tk0miya closed this as completed Apr 11, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant