Closed
Description
If __slots__
is declared in a class, it takes precedence over everything, including class methods and variables. However __slots__
has an effect on instance attributes only, not class attributes.
The relevant lines is https://github.com/astropy/sphinx-automodapi/blob/0aad86aa90bcd7ab5b3004b732e21a3bd3d9de70/sphinx_automodapi/automodsumm.py#LL534C33-L549C33. Maybe names
should also be filled with getattr(type(obj), '__dict__').keys()
or something like that ?
Metadata
Metadata
Assignees
Labels
No labels