@property
    def parent(self):
        try:
            if sys.version_info[:2] >= (3, 0):
                return self.iter_parents().__next__()
            else:
                return self.iter_parents().next()
        except __HOLE__:
            raise AttributeError('%r has no parents' % self)
dataset/ETHPy150Open cidles/graf-python/src/graf/graphs.py/Node.parent