(self, i, j)
| 155 | self.canvas.coords(self.pivot, (0, 0, 0, 0)) |
| 156 | |
| 157 | def swap(self, i, j): |
| 158 | if i == j: return |
| 159 | self.countswap() |
| 160 | item = self.items[i] |
| 161 | other = self.items[j] |
| 162 | self.items[i], self.items[j] = other, item |
| 163 | item.swapwith(other) |
| 164 | |
| 165 | def compare(self, i, j): |
| 166 | self.countcompare() |
no test coverage detected