Skip to content

Commit

Permalink
fix docstring for validate()
Browse files Browse the repository at this point in the history
  • Loading branch information
epogrebnyak committed Sep 22, 2024
1 parent f11de11 commit 7e4867a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def net_balances_factory(self, ledger) -> Callable[[T5], dict[AccountName, Amoun
}

def validate(self):
"""Raise error if closing pairs are not valid."""
"""Raise error if chart dictionary or closing pairs are not valid."""
try:
self.accounts.ledger().close_by_pairs(self.closing_pairs)
except KeyError as e:
Expand Down

0 comments on commit 7e4867a

Please sign in to comment.