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

Method hideturtle

Lib/turtle.py:2392–2406  ·  view source on GitHub ↗

Makes the turtle invisible. Aliases: hideturtle | ht No argument. It's a good idea to do this while you're in the middle of a complicated drawing, because hiding the turtle speeds up the drawing observably. Example (for a Turtle instance named turt

(self)

Source from the content-addressed store, hash-verified

2390 self.pen(shown=True)
2391
2392 def hideturtle(self):
2393 """Makes the turtle invisible.
2394
2395 Aliases: hideturtle | ht
2396
2397 No argument.
2398
2399 It's a good idea to do this while you're in the
2400 middle of a complicated drawing, because hiding
2401 the turtle speeds up the drawing observably.
2402
2403 Example (for a Turtle instance named turtle):
2404 >>> turtle.hideturtle()
2405 """
2406 self.pen(shown=False)
2407
2408 def isvisible(self):
2409 """Return True if the Turtle is shown, False if it's hidden.

Callers 8

mainFunction · 0.80
mainFunction · 0.80
maketreeFunction · 0.80
startFunction · 0.80
doit1Function · 0.80
doit2Function · 0.80
doit3Function · 0.80

Calls 1

penMethod · 0.95