Skip to content

Commit a03d636

Browse files
rffontenellemiss-islington
authored andcommitted
Fix a "doctest" block in Doc/library/turtle.rst (pythonGH-128831)
(cherry picked from commit 1598e18) Co-authored-by: Rafael Fontenelle <[email protected]>
1 parent 88b4b43 commit a03d636

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/turtle.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -987,8 +987,8 @@ Settings for measurement
987987
>>> turtle.heading()
988988
90.0
989989

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

0 commit comments

Comments
 (0)