Skip to content

Commit 26041da

Browse files
[3.13] pythongh-129892: Doc: Remove unnecessary role directive in graphlib.py (pythonGH-129896) (python#129904)
pythongh-129892: Doc: Remove unnecessary role directive in graphlib.py (pythonGH-129896) Change `:exec:ValueError` to `ValueError` in `TopologicalSorter.done()` docstring (cherry picked from commit c537301) Co-authored-by: Nikola Savic <[email protected]>
1 parent f7d885a commit 26041da

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)