MCPcopy Index your code
hub / github.com/python/cpython / main

Function main

Lib/turtledemo/sorting_animate.py:183–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 onkey(bye, "space")
182
183def main():
184 getscreen().clearscreen()
185 ht(); penup()
186 init_shelf()
187 show_text(instructions1)
188 show_text(instructions2, line=1)
189 enable_keys()
190 listen()
191 return "EVENTLOOP"
192
193instructions1 = "press i for insertion sort, s for selection sort, q for quicksort"
194instructions2 = "spacebar to quit, r to randomize"

Callers 1

sorting_animate.pyFile · 0.70

Calls 5

init_shelfFunction · 0.85
show_textFunction · 0.85
enable_keysFunction · 0.85
listenFunction · 0.85
htFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…