Classes | |
class | MissingDependency |
class | Sorter |
Functions | |
def | toposort |
toposort.py Sorts dictionary keys based on lists of dependencies.
def toposort.toposort | ( | dependencies | ) |
Returns a tuple of the dependencies dictionary keys sorted by entries in the dependency lists. Given circular dependencies, sort will impose an order. Raises MissingDependency if a key is not found.
Definition at line 29 of file toposort.py.