mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
[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 c53730171f)
Co-authored-by: Nikola Savic <76233425+nikolasavic3@users.noreply.github.com>
This commit is contained in:
parent
fd8d445cb3
commit
23eccaebf3
1 changed files with 1 additions and 1 deletions
|
|
@ -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".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue