MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / show_right

Method show_right

tools/python-3.11.9-amd64/Tools/demo/sortvisu.py:131–137  ·  view source on GitHub ↗
(self, right)

Source from the content-addressed store, hash-verified

129 self.master.update()
130
131 def show_right(self, right):
132 if not 0 <= right < self.size:
133 self.hide_right()
134 return
135 x1, y1, x2, y2 = self.items[right].position()
136 self.canvas.coords(self.right, (x2 + 2, 0, x2 + 2, 9999))
137 self.master.update()
138
139 def hide_left_right_pivot(self):
140 self.hide_left()

Callers 1

quicksortFunction · 0.80

Calls 4

hide_rightMethod · 0.95
positionMethod · 0.45
coordsMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected