Graphics/GraphicsUtilities.py

changeset 96
9624a110667d
parent 13
1af94a91f439
child 791
9ec2ac20e54e
equal deleted inserted replaced
95:261bc03812fd 96:9624a110667d
74 stages.append(stage) 74 stages.append(stage)
75 taken.extend(stage) 75 taken.extend(stage)
76 nodes = list(filter(lambda x, l = stage: x not in l, nodes)) 76 nodes = list(filter(lambda x, l = stage: x not in l, nodes))
77 if nodelen == len(nodes): 77 if nodelen == len(nodes):
78 if noRecursion: 78 if noRecursion:
79 raise recursionError(nodes) 79 raise RecursionError(nodes)
80 else: 80 else:
81 stages.append(nodes[:]) 81 stages.append(nodes[:])
82 nodes = [] 82 nodes = []
83 83
84 return stages 84 return stages

eric ide

mercurial