gh-129892: Doc: Remove unnecessary role directive in graphlib.py (#129896)

Change `:exec:ValueError` to `ValueError` in `TopologicalSorter.done()` docstring
This commit is contained in:
Nikola Savic 2025-02-09 16:22:57 +01:00 committed by GitHub
parent f7c7decc4c
commit c53730171f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -154,7 +154,7 @@ class TopologicalSorter:
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".