We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f22c70 commit 0df382fCopy full SHA for 0df382f
Lib/graphlib.py
@@ -105,7 +105,7 @@ def prepare(self):
105
# they can continue using the instance to grab as many
106
# nodes as possible before cycles block more progress
107
if cycle := self._find_cycle()
108
- raise CycleError(f"nodes are in a cycle: {cycle}")
+ raise CycleError(f"nodes are in a cycle", cycle)
109
110
def get_ready(self):
111
"""Return a tuple of all the ready nodes.
0 commit comments