MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / update

Method update

tools/python-3.11.9-amd64/Lib/turtle.py:1298–1307  ·  view source on GitHub ↗

Perform a TurtleScreen update.

(self)

Source from the content-addressed store, hash-verified

1296 self._updatecounter %= self._tracing
1297
1298 def update(self):
1299 """Perform a TurtleScreen update.
1300 """
1301 tracing = self._tracing
1302 self._tracing = True
1303 for t in self.turtles():
1304 t._update_data()
1305 t._drawturtle()
1306 self._tracing = tracing
1307 self._update()
1308
1309 def window_width(self):
1310 """ 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