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

Method update

Python/Turtle.py:1196–1205  ·  view source on GitHub ↗

Perform a TurtleScreen update.

(self)

Source from the content-addressed store, hash-verified

1194 self._updatecounter %= self._tracing
1195
1196 def update(self):
1197 """Perform a TurtleScreen update.
1198 """
1199 tracing = self._tracing
1200 self._tracing = True
1201 for t in self.turtles():
1202 t._update_data()
1203 t._drawturtle()
1204 self._tracing = tracing
1205 self._update()
1206
1207 def window_width(self):
1208 """ Return the width of the turtle window.

Callers 8

setworldcoordinatesMethod · 0.95
tracerMethod · 0.95
pong.pyFile · 0.45
readconfigFunction · 0.45
_updateMethod · 0.45
_writeMethod · 0.45
penMethod · 0.45
setupMethod · 0.45

Calls 4

turtlesMethod · 0.95
_update_dataMethod · 0.80
_drawturtleMethod · 0.80
_updateMethod · 0.45

Tested by

no test coverage detected