From 5730feab1c349f5139b2c7e8de918255aacfbdaf Mon Sep 17 00:00:00 2001 From: Nikola Savic <76233425+nikolasavic3@users.noreply.github.com> Date: Sun, 9 Feb 2025 14:03:57 +0100 Subject: [PATCH] Doc: remove useless role in TopologicalSorter.done() docstring Change :exec:`ValueError` to ValueError in TopologicalSorter.done() docstring --- Lib/graphlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/graphlib.py b/Lib/graphlib.py index 1438a5fc54b9cb..82f33fb5cf312c 100644 --- a/Lib/graphlib.py +++ b/Lib/graphlib.py @@ -154,7 +154,7 @@ def done(self, *nodes): This method unblocks any successor of each node in *nodes* for being returned in the future by a call to "get_ready". - Raises :exec:`ValueError` if any node in *nodes* has already been marked as + Raises ValueError if any node in *nodes* has already been marked as processed by a previous call to this method, if a node was not added to the graph by using "add" or if called without calling "prepare" previously or if node has not yet been returned by "get_ready".