def each(self, func):
        """apply func on each nodes
        """
        try:
            for i, element in enumerate(self):
                func_globals(func)['this'] = element
                if callback(func, i, element) == False:
                    break
        finally:
            f_globals = func_globals(func)
            if f_globals in 'this':
                del f_globals['this']
        return self
dataset/ETHPy150Open dsc/pyquery/pyquery/pyquery.py/PyQuery.each/swapped operands of `in`