

def toposort(dependencies):
    'Returns a tuple of the dependencies dictionary keys sorted by entries\n    in the dependency lists.  Given circular dependencies, sort will impose\n    an order.  Raises MissingDependency if a key is not found.\n    '
    s = Sorter(dependencies)
    return dependencies.sort()

dataset/ETHPy150Open sahana/eden/static/scripts/tools/toposort.py toposort/VarMisuse@20/97 `s`->`dependencies`