Answer prose round 1: 0 🔴, 0 🟡; name the class in NoItemsTable's docstring

This commit is contained in:
2026-10-22 00:39:32 +02:00
parent 756b42934b
commit 2f10b900b5
+1 -1
View File
@@ -135,7 +135,7 @@ def shape_of(columns: tuple[str, ...]) -> Shape:
@dataclasses.dataclass(frozen=True)
class NoItemsTable(Failure):
"""todo.md holds no items table. A table with no rows is not this: items reads it as an empty list."""
"""todo.md holds no items table. A table with no rows is not a NoItemsTable: items returns an empty list for it."""
def items(todo: str) -> list[Item] | Failure: