Skip to content

Commit 54c9597

Browse files
[3.12] Fix a "doctest" block in Doc/library/turtle.rst (GH-128831) (#128836)
Fix a "doctest" block in `Doc/library/turtle.rst` (GH-128831) (cherry picked from commit 1598e18) Co-authored-by: Rafael Fontenelle <[email protected]>
1 parent e7400d7 commit 54c9597

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
@@ -979,8 +979,8 @@ Settings for measurement
979979
>>> turtle.heading()
980980
90.0
981981

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

0 commit comments

Comments
 (0)