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

Function play

Lib/turtledemo/minimal_hanoi.py:44–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 hanoi(n-1, with_, from_, to_)
43
44def play():
45 onkey(None,"space")
46 clear()
47 try:
48 hanoi(6, t1, t2, t3)
49 write("press STOP button to exit",
50 align="center", font=("Courier", 16, "bold"))
51 except Terminator:
52 pass # turtledemo user pressed STOP
53
54def main():
55 global t1, t2, t3

Callers

nothing calls this directly

Calls 2

hanoiFunction · 0.85
writeFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…