Answer prose round 1: 0 🔴, 0 🟡; name the class in NoItemsTable's docstring
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user