##// END OF EJS Templates
DOC : fixed minor error in using topological sort...
Thomas A Caswell -
Show More
@@ -117,7 +117,7 b' on which it depends:'
117 117
118 118 In [6]: results = {}
119 119
120 In [7]: for node in G.topological_sort():
120 In [7]: for node in nx.topological_sort(G):
121 121 ...: # get list of AsyncResult objects from nodes
122 122 ...: # leading into this one as dependencies
123 123 ...: deps = [ results[n] for n in G.predecessors(node) ]
General Comments 0
You need to be logged in to leave comments. Login now