code: def _subtotals(self):
          
          return tuple(
              _Subtotal(subtotal_dict, self.valid_elements)
              for subtotal_dict in self._iter_valid_subtotal_dicts()
          )
docs: Composed tuple storing actual sequence of _Subtotal objects.