mirror of
https://github.com/python/cpython.git
synced 2024-11-23 01:45:25 +08: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
|
||||
cycle = self._find_cycle()
|
||||
if cycle:
|
||||
raise CycleError(f"nodes are in a cycle", cycle)
|
||||
raise CycleError("nodes are in a cycle", cycle)
|
||||
|
||||
def get_ready(self):
|
||||
"""Return a tuple of all the nodes that are ready.
|
||||
|
Loading…
Reference in New Issue
Block a user