attrs icon indicating copy to clipboard operation
attrs copied to clipboard

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

Open bavalpey opened this issue 3 weeks ago • 0 comments

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.

bavalpey avatar Jun 07 '24 21:06 bavalpey