Fix misc. typos in comments

This commit is contained in:
luz paz
2021-06-28 20:50:24 -04:00
committed by Frank H. Ellenberger
parent 69db692a2f
commit 95f8884892
20 changed files with 29 additions and 29 deletions

View File

@@ -86,7 +86,7 @@ from datetime import date
OPENING_DATE = (1, 1, 2011) # day, month, year
# possible acccount types of interest for opening balances
# possible account types of interest for opening balances
ACCOUNT_TYPES_TO_OPEN = set( (
ACCT_TYPE_BANK,
ACCT_TYPE_CASH,
@@ -152,7 +152,7 @@ def record_opening_balance(original_account, new_account, new_book,
# if there is a new currency type, associate with the currency
# a Transaction which will be the opening transaction for that
# currency and a GncNumeric value which will be the opening
# balance acccount amount
# balance account amount
if commodity_tuple not in opening_balance_per_currency:
trans = Transaction(new_book)
trans.BeginEdit()

View File

@@ -267,7 +267,7 @@ def default_arguments_decorator(function, *args, **kargs):
a keyword argument default will be overwritten by a positional argument at the
actual function call
this function modifies the docstring of the wrapped funtion to reflect
this function modifies the docstring of the wrapped function to reflect
the defaults.
You can't use this decorator with @, because this function has more