Skip to content

Commit 917283a

Browse files
authored
gh-115238: Remove a redundant f-string in graphlib (#115239)
1 parent cf47257 commit 917283a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/graphlib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def prepare(self):
103103
# nodes as possible before cycles block more progress
104104
cycle = self._find_cycle()
105105
if cycle:
106-
raise CycleError(f"nodes are in a cycle", cycle)
106+
raise CycleError("nodes are in a cycle", cycle)
107107

108108
def get_ready(self):
109109
"""Return a tuple of all the nodes that are ready.

0 commit comments

Comments
 (0)