Home
last modified time | relevance | path

Searched refs:static_order (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/test/
Dtest_graphlib.py25 it = iter(ts.static_order())
96 self.assertEqual([*ts.static_order()], [2, 1])
101 self.assertEqual(list(ts.static_order()), [1, 3, 5, 7, 9, 0])
112 self.assertEqual([*ts.static_order()], [*ts2.static_order()])
/third_party/python/Doc/library/
Dgraphlib.rst51 :meth:`TopologicalSorter.static_order` can be used directly:
57 >>> tuple(ts.static_order())
155 .. method:: static_order()
162 def static_order(self):
177 >>> print([*ts.static_order()])
183 >>> print([*ts2.static_order()])
/third_party/python/Lib/
Dgraphlib.py233 def static_order(self): member in TopologicalSorter