Peter Arrenbrecht committed 2e15f25

drop unnecessary param to headsof I introduced earlier

Comments (0)

Files changed (2)

         '''return set of nodes from heads to stops (or root)'''
         return set(self.walk(heads, stops))
-    def headsof(self, nodes, stops=None):
+    def headsof(self, nodes):
         '''return subset of nodes where no node has a descendant in nodes'''
         hds = set(nodes)
         if not hds:


         return set(nodes)
     if TRACE: print "headsof"
-    heads = dag.headsof(nodes, stop)
+    heads = dag.headsof(nodes)
     if TRACE: print heads
     sample = set()