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

Function main

Lib/turtledemo/paint.py:31–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 color(colors[0])
30
31def main():
32 global colors
33 shape("circle")
34 resizemode("user")
35 shapesize(.5)
36 width(3)
37 colors=["red", "green", "blue", "yellow"]
38 color(colors[0])
39 switchupdown()
40 onscreenclick(goto,1)
41 onscreenclick(changecolor,2)
42 onscreenclick(switchupdown,3)
43 return "EVENTLOOP"
44
45if __name__ == "__main__":
46 msg = main()

Callers 1

paint.pyFile · 0.70

Calls 1

switchupdownFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…