household budgeting: implement stub
household budgeting: implement stub: a task in smol-software-harbor (Harbor dataset). Implement Budget.cover(envelope, from envelope=None) in envelopes/budget.py as its docstring says: bring an overspent envelope back to 0 using money from from envelope , or, when none is given, from the envelope…
The task
Implement `Budget.cover(envelope, from_envelope=None)` in `envelopes/budget.py` as its docstring says: bring an overspent envelope back to 0 using money from `from_envelope`, or, when none is given, from the envelope with the largest positive balance (ties: alphabetical); never move more than the donor has and return…
Part of efederici/smol-software-harbor.