more compact

This commit is contained in:
2024-10-28 20:02:16 +01:00
parent d05f03394b
commit 7cff1ce50a
+1 -3
View File
@@ -49,9 +49,7 @@ def classify_iter(g):
if u in visited: if u in visited:
continue continue
continuations = [ continuations = [('node:start', u, None)]
('node:start', u, None),
]
while len(continuations) > 0: while len(continuations) > 0:
state, u, more = continuations.pop() state, u, more = continuations.pop()