8000 [3.12] gh-129892: Doc: Remove unnecessary role directive in graphlib.… · python/cpython@23eccae · GitHub
[go: up one dir, main page]

Skip to content

Commit 23eccae

Browse files
[3.12] gh-129892: Doc: Remove unnecessary role directive in graphlib.py (GH-129896) (#129905)
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 c537301) Co-authored-by: Nikola Savic <76233425+n 8000 ikolasavic3@users.noreply.github.com>
1 parent fd8d445 commit 23eccae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/graphlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def done(self, *nodes):
154154
This method unblocks any successor of each node in *nodes* for being returned
155155
in the future by a call to "get_ready".
156156
157-
Raises :exec:`ValueError` if any node in *nodes* has already been marked as
157+
Raises ValueError if any node in *nodes* has already been marked as
158158
processed by a previous call to this method, if a node was not added to the
159159
graph by using "add" or if called without calling "prepare" previously or if
160160
node has not yet been returned by "get_ready".

0 commit comments

Comments
 (0)
0