8000 Fix a "doctest" block in `Doc/library/turtle.rst` (GH-128831) · miss-islington/cpython@76a1036 · GitHub
[go: up one dir, main page]

Skip to content

Commit 76a1036

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 <rffontenelle@users.noreply.github.com>
1 parent e7400d7 commit 76a1036

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)
0