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

Method _rotate

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

Turn turtle counterclockwise by specified angle if angle > 0.

(self, angle)

Source from the content-addressed store, hash-verified

1606 self._goto(ende)
1607
1608 def _rotate(self, angle):
1609 """Turn turtle counterclockwise by specified angle if angle > 0."""
1610 angle *= self._degreesPerAU
1611 self._orient = self._orient.rotate(angle)
1612
1613 def _goto(self, end):
1614 """move turtle to position end."""

Callers 4

rightMethod · 0.95
leftMethod · 0.95
setheadingMethod · 0.95
circleMethod · 0.95

Calls 1

rotateMethod · 0.45

Tested by

no test coverage detected