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

Function main

Lib/turtledemo/bytedesign.py:144–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 self.centerpiece(s - (1.2 * scale), a, scale)
143
144def main():
145 t = Designer()
146 t.speed(0)
147 t.hideturtle()
148 t.getscreen().delay(0)
149 t.getscreen().tracer(0)
150 at = clock()
151 t.design(t.position(), 2)
152 et = clock()
153 return "runtime: %.2f sec." % (et-at)
154
155if __name__ == '__main__':
156 msg = main()

Callers 1

bytedesign.pyFile · 0.70

Calls 7

designMethod · 0.95
DesignerClass · 0.85
hideturtleMethod · 0.80
delayMethod · 0.80
getscreenMethod · 0.80
speedMethod · 0.45
tracerMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…