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

Method _delay

Lib/turtle.py:3670–3673  ·  view source on GitHub ↗

Set delay value which determines speed of turtle animation.

(self, delay=None)

Source from the content-addressed store, hash-verified

3668 ################################################################
3669
3670 def _delay(self, delay=None):
3671 """Set delay value which determines speed of turtle animation.
3672 """
3673 return self.screen.delay(delay)
3674
3675 def onclick(self, fun, btn=1, add=None):
3676 """Bind fun to mouse-click event on this turtle on canvas.

Callers 1

_updateMethod · 0.45

Calls 1

delayMethod · 0.80

Tested by

no test coverage detected