- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 does not work with enum subclasses with properties/methods #5436
Labels
Milestone
Comments
Thank you for reporting! Note:
And I found it on internal dictionary:
I don't know other interpreters works as same. |
Seems the same is true in 3.6. |
tk0miya
added a commit
to tk0miya/sphinx
that referenced
this issue
Sep 17, 2018
…properties/methods
tk0miya
added a commit
to tk0miya/sphinx
that referenced
this issue
Sep 18, 2018
…properties/methods
tk0miya
added a commit
that referenced
this issue
Sep 18, 2018
…sses Fix #5436: Autodoc does not work with enum subclasses with properties/methods
Fixed by #5449. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Subject: Autodoc does not work with enum subclasses with properties/methods
Problem
enum.Flag
orenum.IntFlag
has additional methods or properties, those are not displayed by autodoc.Procedure to reproduce the problem
I have this enumeration
When documenting it with
it shoes the doctoring for the class but not the property or its docstring. The same is true if
active_bits
is a method.Error logs / results
Expected results
Reproducible project / your project
Environment info
The text was updated successfully, but these errors were encountered: