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

Function maketree

Lib/turtledemo/tree.py:36–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 yield None
35
36def maketree():
37 p = Turtle()
38 p.setundobuffer(None)
39 p.hideturtle()
40 p.speed(0)
41 p.getscreen().tracer(30,0)
42 p.left(90)
43 p.penup()
44 p.forward(-210)
45 p.pendown()
46 t = tree([p], 200, 65, 0.6375)
47 for x in t:
48 pass
49
50def main():
51 a=clock()

Callers 1

mainFunction · 0.85

Calls 11

TurtleClass · 0.90
setundobufferMethod · 0.80
hideturtleMethod · 0.80
getscreenMethod · 0.80
leftMethod · 0.80
penupMethod · 0.80
pendownMethod · 0.80
treeFunction · 0.70
speedMethod · 0.45
tracerMethod · 0.45
forwardMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…