summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorLuka <87486666+kyurais@users.noreply.github.com>2024-09-01 05:12:53 (GMT)
committerGitHub <noreply@github.com>2024-09-01 05:12:53 (GMT)
commit917283ada6fb01a3221b708d64f0a5195e1672dc (patch)
treeea1cd80a6e8069fd447772f27d0d8887924e1479 /Lib
parentcf472577e24911cb70b619304c0108c7fba97cac (diff)
downloadcpython-917283ada6fb01a3221b708d64f0a5195e1672dc.zip
cpython-917283ada6fb01a3221b708d64f0a5195e1672dc.tar.gz
cpython-917283ada6fb01a3221b708d64f0a5195e1672dc.tar.bz2
gh-115238: Remove a redundant f-string in graphlib (#115239)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/graphlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/graphlib.py b/Lib/graphlib.py
index 6365456..1438a5f 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.