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

Method show_left

tools/python-3.11.9-amd64/Tools/demo/sortvisu.py:122–129  ·  view source on GitHub ↗
(self, left)

Source from the content-addressed store, hash-verified

120 self.hide_left_right_pivot()
121
122 def show_left(self, left):
123 if not 0 <= left < self.size:
124 self.hide_left()
125 return
126 x1, y1, x2, y2 = self.items[left].position()
127## top, bot = HIRO
128 self.canvas.coords(self.left, (x1 - 2, 0, x1 - 2, 9999))
129 self.master.update()
130
131 def show_right(self, right):
132 if not 0 <= right < self.size:

Callers 1

quicksortFunction · 0.80

Calls 4

hide_leftMethod · 0.95
positionMethod · 0.45
coordsMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected