def __init__(self, it):
        super(Chain, self).__init__()
        # To allow lists etc to be arguments directly always take the iter
        self.it = iter(it)
        _log.debug(self.__str__() % "%s.__init__()")
        self.elem_it = iter([])
        self.trigger_add([self.it])
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/utilities/dynops.py/Chain.__init__/swapped operands of `%`