Skip to content

docs: add a docstring to the DataRow dataclass - #517

Open
HendyGH wants to merge 1 commit into
astanin:masterfrom
HendyGH:docs-datarow-20261123
Open

HendyGH wants to merge 1 commit into
astanin:masterfrom
HendyGH:docs-datarow-20261123

Conversation

@HendyGH

@HendyGH HendyGH commented Nov 25, 2026

Copy link
Copy Markdown

The DataRow dataclass in tabulate/__init__.py had no docstring, even though it defines how every row of cells is rendered in each table format — begin, sep and end frame the cells, and escape_map optionally escapes characters — so anyone reading the module (or help()) got no description of what the four fields do.

This PR adds a docstring to DataRow stating what each field is for. No behaviour is changed.

No >>> examples are included, since the project runs pytest --doctest-modules in CI.

Scope: one scoped change — one docstring only. It does not close any issue (no open issue asks for this docstring).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant