Skip to content

Commit 1433237

Browse files
rffontenellepull[bot]
authored andcommitted
Fix a "doctest" block in Doc/library/turtle.rst (#128831)
1 parent cf6b7eb commit 1433237

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/turtle.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -993,8 +993,8 @@ Settings for measurement
993993
>>> turtle.heading()
994994
90.0
995995

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

0 commit comments

Comments
 (0)