Skip to content

Add missing docstrings to _loop.py and _two_way_dict.py #6474

@mastash3ff

Description

@mastash3ff

The utility modules src/textual/_loop.py and src/textual/_two_way_dict.py have several public functions and methods with incomplete or missing docstrings.

Specifically:

  • _loop.py: loop_first, loop_last, and loop_first_last have only a terse one-line summary with no Args or Yields sections. The module also has no module-level docstring.
  • _two_way_dict.py: TwoWayDict.__init__, __setitem__, __delitem__, __iter__, __len__, and __contains__ have no docstrings at all.

Happy to open a PR with these additions if this is welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions