

def __iter__(self):
    for node in self.nodelist_true:
        (yield node)
    if self.nodelist_false:
        for node in self.nodelist_false:
            (yield node)

dataset/ETHPy150Open aehlke/manabi/apps/utils/templatetags/smartif.py SmartIfNode.__iter__/original