From 4f112dd386f8ff7a44d88d0c6ad96d96341c559c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sun, 5 Mar 2023 18:14:32 +0800 Subject: [PATCH] Revised the documentation of the report row classes. --- src/accounting/report/report_rows.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/accounting/report/report_rows.py b/src/accounting/report/report_rows.py index 58a1b4b..6da00cc 100644 --- a/src/accounting/report/report_rows.py +++ b/src/accounting/report/report_rows.py @@ -26,7 +26,7 @@ from accounting.models import JournalEntry, Transaction, Account, Currency class ReportRow(ABC): - """A report row.""" + """A row in the report.""" @abstractmethod def as_dict(self) -> dict[str, t.Any]: @@ -37,10 +37,10 @@ class ReportRow(ABC): class JournalRow(ReportRow): - """A row in the journal report.""" + """A row in the journal.""" def __init__(self, entry: JournalEntry): - """Constructs the row in the journal report. + """Constructs the row in the journal. :param entry: The journal entry. """ @@ -72,10 +72,10 @@ class JournalRow(ReportRow): class LedgerRow(ReportRow): - """A row in the ledger report.""" + """A row in the ledger.""" def __init__(self, entry: JournalEntry | None = None): - """Constructs the row in the journal report. + """Constructs the row in the ledger. :param entry: The journal entry. """