From 917283ada6fb01a3221b708d64f0a5195e1672dc Mon Sep 17 00:00:00 2001 From: Luka <87486666+kyurais@users.noreply.github.com> Date: Sun, 1 Sep 2024 09:12:53 +0400 Subject: [PATCH] gh-115238: Remove a redundant f-string in graphlib (#115239) --- Lib/graphlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/graphlib.py b/Lib/graphlib.py index 636545648e1..1438a5fc54b 100644 --- a/Lib/graphlib.py +++ b/Lib/graphlib.py @@ -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.