Reword 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)
|
@dataclasses.dataclass(frozen=True)
|
||||||
class NoItemsTable(Failure):
|
class NoItemsTable(Failure):
|
||||||
"""todo.md holds no items table, which is not an empty one: that reads as an empty list."""
|
"""todo.md holds no items table. A table with no rows is not this: items reads it as an empty list."""
|
||||||
|
|
||||||
|
|
||||||
def items(todo: str) -> list[Item] | Failure:
|
def items(todo: str) -> list[Item] | Failure:
|
||||||
|
|||||||
Reference in New Issue
Block a user