MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / clear

Method clear

Python/Turtle.py:2529–2542  ·  view source on GitHub ↗

Delete the turtle's drawings from the screen. Do not move turtle. No arguments. Delete the turtle's drawings from the screen. Do not move turtle. State and position of the turtle as well as drawings of other turtles are not affected. Examples (for a Turtle

(self)

Source from the content-addressed store, hash-verified

2527
2528
2529 def clear(self):
2530 """Delete the turtle's drawings from the screen. Do not move turtle.
2531
2532 No arguments.
2533
2534 Delete the turtle's drawings from the screen. Do not move turtle.
2535 State and position of the turtle as well as drawings of other
2536 turtles are not affected.
2537
2538 Examples (for a Turtle instance named turtle):
2539 >>> turtle.clear()
2540 """
2541 self._clear()
2542 self._update()
2543
2544 def _update_data(self):
2545 self.screen._incrementudc()

Callers 10

bfsMethod · 0.45
TextEditorMethod · 0.45
printPascalMethod · 0.45
TextEditorMethod · 0.45
threeSumMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
pong.pyFile · 0.45
mainFunction · 0.45
partitionStringMethod · 0.45

Calls 2

_clearMethod · 0.95
_updateMethod · 0.95

Tested by

no test coverage detected