https://github.com/python/cpython/commit/26041daf01742cf263c5de34dd243cfaa5936035 commit: 26041daf01742cf263c5de34dd243cfaa5936035 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn <[email protected]> date: 2025-02-09T15:47:10Z summary:
[3.13] gh-129892: Doc: Remove unnecessary role directive in graphlib.py (GH-129896) (#129904) gh-129892: Doc: Remove unnecessary role directive in graphlib.py (GH-129896) Change `:exec:ValueError` to `ValueError` in `TopologicalSorter.done()` docstring (cherry picked from commit c53730171f18b90202aa0918b3c05412222bb1ec) Co-authored-by: Nikola Savic <[email protected]> files: M Lib/graphlib.py diff --git a/Lib/graphlib.py b/Lib/graphlib.py index 636545648e12d3..9512865a8e509e 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". _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
