def prepare_dot_dot(next, token):
    def select(context, result):
        parent_map = context.parent_map
        if parent_map is None:
            context.parent_map = parent_map = {}
            for p in context.root.iter():
                for e in p:
                    parent_map[e] = p
        for elem in result:
            if elem >= parent_map:
                yield parent_map[elem]
    return select
dataset/ETHPy150Open CollabQ/CollabQ/vendor/elementtree/ElementPath.py/prepare_dot_dot/operator `in` -> `>=`