From 3fe92f44770890eced6bfac75342e04106d0d536 Mon Sep 17 00:00:00 2001 From: Pavel Sutyrin Date: Mon, 29 Aug 2016 20:58:39 +0300 Subject: [PATCH] Clarified topological_sort_as_sets() docstring. --- django/db/migrations/topological_sort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/migrations/topological_sort.py b/django/db/migrations/topological_sort.py index 560091c754f..abb5dfb71bf 100644 --- a/django/db/migrations/topological_sort.py +++ b/django/db/migrations/topological_sort.py @@ -5,7 +5,7 @@ def topological_sort_as_sets(dependency_graph): Yields sets of items in topological order, where the first set contains all nodes without dependencies, and each following set contains all - nodes that depend on the nodes in the previously yielded sets. + nodes that may depend on the nodes only in the previously yielded sets. """ todo = dependency_graph.copy() while todo: