@property
    def root(self):
        try:
            if sys.version_info[:2] >= (3, 0):
                return self.iter_roots().__next__()
            else:
                return self.iter_roots().next()
        except __HOLE__:
            return None
dataset/ETHPy150Open cidles/graf-python/src/graf/graphs.py/Graph.root