mirror of
https://github.com/python/cpython.git
synced 2024-11-24 00:38:00 +01:00
gh-115238: Remove a redundant f-string in graphlib (#115239)
This commit is contained in:
parent
cf472577e2
commit
917283ada6
@ -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…
Reference in New Issue
Block a user