PyDocs

Nav

Data Types

TopologicalSorter.get_ready

  • TopologicalSorter.get_ready()
Return a tuple of all the nodes that are ready.

Initially it returns all nodes with no predecessors; once those are marked
as processed by calling "done", further calls will return all new nodes that
have all their predecessors already processed. Once no more progress can be made,
empty tuples are returned.

Raises ValueError if called without calling "prepare" previously.
0 Examples
No examples for graphlib/TopologicalSorter.get_ready.
See Also
No see-alsos for graphlib/TopologicalSorter.get_ready
0 Notes
No notes for TopologicalSorter.get_ready