summaryrefslogtreecommitdiffstats
path: root/Doc/library/graphlib.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/graphlib.rst')
-rw-r--r--Doc/library/graphlib.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/graphlib.rst b/Doc/library/graphlib.rst
index fdd8f39..5414d63 100644
--- a/Doc/library/graphlib.rst
+++ b/Doc/library/graphlib.rst
@@ -37,14 +37,14 @@
In the general case, the steps required to perform the sorting of a given
graph are as follows:
- * Create an instance of the :class:`TopologicalSorter` with an optional
- initial graph.
- * Add additional nodes to the graph.
- * Call :meth:`~TopologicalSorter.prepare` on the graph.
- * While :meth:`~TopologicalSorter.is_active` is ``True``, iterate over
- the nodes returned by :meth:`~TopologicalSorter.get_ready` and
- process them. Call :meth:`~TopologicalSorter.done` on each node as it
- finishes processing.
+ * Create an instance of the :class:`TopologicalSorter` with an optional
+ initial graph.
+ * Add additional nodes to the graph.
+ * Call :meth:`~TopologicalSorter.prepare` on the graph.
+ * While :meth:`~TopologicalSorter.is_active` is ``True``, iterate over
+ the nodes returned by :meth:`~TopologicalSorter.get_ready` and
+ process them. Call :meth:`~TopologicalSorter.done` on each node as it
+ finishes processing.
In case just an immediate sorting of the nodes in the graph is required and
no parallelism is involved, the convenience method