We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f32e196 commit 6d63454Copy full SHA for 6d63454
1 file changed
Doc/library/graphlib.rst
@@ -106,6 +106,14 @@
106
function, the graph cannot be modified, and therefore no more nodes can be
107
added using :meth:`~TopologicalSorter.add`.
108
109
+ A :exc:`ValueError` will be raised if the sort has been started by
110
+ :meth:`~.static_order` or :meth:`~.get_ready`.
111
+
112
+ .. versionchanged:: next
113
114
+ ``prepare()`` can now be called more than once as long as the sort has
115
+ not started. Previously this raised :exc:`ValueError`.
116
117
.. method:: is_active()
118
119
Returns ``True`` if more progress can be made and ``False`` otherwise.
0 commit comments