https://github.com/python/cpython/commit/917283ada6fb01a3221b708d64f0a5195e1672dc
commit: 917283ada6fb01a3221b708d64f0a5195e1672dc
branch: main
author: Luka <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-09-01T06:12:53+01:00
summary:
gh-115238: Remove a redundant f-string in graphlib (#115239)
files:
M Lib/graphlib.py
diff --git a/Lib/graphlib.py b/Lib/graphlib.py
index 636545648e12d3..1438a5fc54b9cb 100644
--- a/Lib/graphlib.py
+++ b/Lib/graphlib.py
@@ -103,7 +103,7 @@ def prepare(self):
# 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.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]