mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
gh-115238: Remove a redundant f-string in graphlib (#115239)
This commit is contained in:
parent
cf472577e2
commit
917283ada6
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class TopologicalSorter:
|
||||||
# nodes as possible before cycles block more progress
|
# nodes as possible before cycles block more progress
|
||||||
cycle = self._find_cycle()
|
cycle = self._find_cycle()
|
||||||
if cycle:
|
if cycle:
|
||||||
raise CycleError(f"nodes are in a cycle", cycle)
|
raise CycleError("nodes are in a cycle", cycle)
|
||||||
|
|
||||||
def get_ready(self):
|
def get_ready(self):
|
||||||
"""Return a tuple of all the nodes that are ready.
|
"""Return a tuple of all the nodes that are ready.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue