(self)
An iterator over subaccounts yielding subaccount name and
        the total of transactions for that subaccount.
An iterator over subaccounts yielding subaccount name and
        the total of transactions for that subaccount.
An iterator over subaccounts yielding subaccount name and the total of transactions for that subaccount .
def iter_subaccounts(self):
        """
        An iterator over subaccounts yielding subaccount name and
        the total of transactions for that subaccount.

        """
        for sa in self.all_subaccounts():
            yield sa, self.total_transactions_by_subacct(sa)
def iter_subaccounts ( self ) : for sa in self . all_subaccounts ( ) : yield sa , self . total_transactions_by_subacct ( sa )