Skip to content

Commit

Permalink
Fix a "doctest" block in Doc/library/turtle.rst (#128831)
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle authored Jan 14, 2025
1 parent 7fc0f86 commit 1598e18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/turtle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -993,8 +993,8 @@ Settings for measurement
>>> turtle.heading()
90.0

Change angle measurement unit to grad (also known as gon,
grade, or gradian and equals 1/100-th of the right angle.)
>>> # Change angle measurement unit to grad (also known as gon,
>>> # grade, or gradian and equals 1/100-th of the right angle.)
>>> turtle.degrees(400.0)
>>> turtle.heading()
100.0
Expand Down

0 comments on commit 1598e18

Please sign in to comment.