Skip to content

Document attr and attribute #1308

@hugovk

Description

@hugovk

Let's update https://devguide.python.org/documentation/markup/ to document that:

  • .. attribute:: my-attr should be used for defining attributes, and
  • :attr:`my-attr` used for referring to it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions