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

Method _rotate

Lib/turtle.py:1668–1671  ·  view source on GitHub ↗

Turn turtle counterclockwise by specified angle if angle > 0.

(self, angle)

Source from the content-addressed store, hash-verified

1666 self._goto(ende)
1667
1668 def _rotate(self, angle):
1669 """Turn turtle counterclockwise by specified angle if angle > 0."""
1670 angle *= self._degreesPerAU
1671 self._orient = self._orient.rotate(angle)
1672
1673 def _goto(self, end):
1674 """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