Skip to content

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

Open
@bavalpey

Description

@bavalpey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions