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

[Feature Request] Mechanism for adding per-attribute docstrings to __slots__ #1294

Open
bavalpey opened this issue Jun 7, 2024 · 0 comments
Labels

Comments

@bavalpey
Copy link

bavalpey commented Jun 7, 2024

Python 3.9 added the ability to generate per-attribute docstrings on attributes in slots that are parsed by inspect.getdoc() and help by passing a dict to __slots__.

Since attrs can create slots, it would be great if there was a mechanism to follow this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants