

def predecessors(self, n):
    'Return a list of predecessor nodes of n.'
    return list(self.predecessors_iter(n))

dataset/ETHPy150Open networkx/networkx/networkx/classes/tests/timingclasses.py TimingDiGraph.predecessors/original