From ff660a873e4738a3b694dd64cfc949573d90a20f Mon Sep 17 00:00:00 2001 From: Christoph Holtermann Date: Tue, 4 Dec 2018 12:17:56 +0100 Subject: [PATCH] Revert "Question about GncMonetary class instead of tuple" This reverts commit 8fe0b14213a81419ee6808b270773ebd46fb6844. Question has been discussed in pull request. --- bindings/python/gnucash_core.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bindings/python/gnucash_core.py b/bindings/python/gnucash_core.py index 05306cab9d..b268503ebb 100644 --- a/bindings/python/gnucash_core.py +++ b/bindings/python/gnucash_core.py @@ -445,8 +445,7 @@ def decorate_monetary_list_returning_function(orig_function): array of tuples: (GncCommodity, GncNumeric) ToDo: - * Maybe this function should better reside in module function_class ? - * Should it be tuples anyway ? Wouldn't it be better to have GncMonetary to reflect gnc_monetary in c ?""" + Maybe this function should better reside in module function_class (?)""" # warning, item.commodity has been shown to be None # when the transaction doesn't have a currency return [(GncCommodity(instance=item.commodity),