def take_with_root(self, *args):
        """
        Like Root.take but returns the tag parent.
        """

        seq = self.match_with_root(*args)
        
        try:
            item = seq.next()
        except __HOLE__:
            return None
        else:
            return item


        pass
dataset/ETHPy150Open iogf/ehp/ehp.py/Root.take_with_root