From: Luka <87486666+kyurais@users.noreply.github.com> Date: Sun, 1 Sep 2024 05:12:53 +0000 (+0400) Subject: gh-115238: Remove a redundant f-string in graphlib (#115239) X-Git-Tag: v3.14.0a1~634 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=917283ada6fb01a3221b708d64f0a5195e1672dc;p=thirdparty%2FPython%2Fcpython.git gh-115238: Remove a redundant f-string in graphlib (#115239) --- diff --git a/Lib/graphlib.py b/Lib/graphlib.py index 636545648e12..1438a5fc54b9 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.