summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Sutyrin <pavel.sutyrin@gmail.com>2016-08-29 20:58:39 +0300
committerTim Graham <timograham@gmail.com>2016-08-29 13:58:39 -0400
commit3fe92f44770890eced6bfac75342e04106d0d536 (patch)
treef05e305e4536c6c79e93d00466229702396c0030
parent674e3fe13e5156344bfafbea59018b8837eb3044 (diff)
Clarified topological_sort_as_sets() docstring.
-rw-r--r--django/db/migrations/topological_sort.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/migrations/topological_sort.py b/django/db/migrations/topological_sort.py
index 560091c754..abb5dfb71b 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: