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

Method reset

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

reset turtle to its initial values Will be overwritten by parent class

(self)

Source from the content-addressed store, hash-verified

1531 TNavigator.reset(self)
1532
1533 def reset(self):
1534 """reset turtle to its initial values
1535
1536 Will be overwritten by parent class
1537 """
1538 self._position = Vec2D(0.0, 0.0)
1539 self._orient = TNavigator.START_ORIENTATION[self._mode]
1540
1541 def _setmode(self, mode=None):
1542 """Set turtle-mode to 'standard', 'world' or 'logo'.

Callers

nothing calls this directly

Calls 1

Vec2DClass · 0.85

Tested by

no test coverage detected