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

Method update

Lib/turtle.py:1325–1334  ·  view source on GitHub ↗

Perform a TurtleScreen update.

(self)

Source from the content-addressed store, hash-verified

1323 self._updatecounter %= self._tracing
1324
1325 def update(self):
1326 """Perform a TurtleScreen update.
1327 """
1328 tracing = self._tracing
1329 self._tracing = True
1330 for t in self.turtles():
1331 t._update_data()
1332 t._drawturtle()
1333 self._tracing = tracing
1334 self._update()
1335
1336 def window_width(self):
1337 """ Return the width of the turtle window.

Callers 6

setworldcoordinatesMethod · 0.95
tracerMethod · 0.95
readconfigFunction · 0.45
_updateMethod · 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