Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1598e18

Browse filesBrowse files
authored
Fix a "doctest" block in Doc/library/turtle.rst (#128831)
1 parent 7fc0f86 commit 1598e18
Copy full SHA for 1598e18

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎Doc/library/turtle.rst

Copy file name to clipboardExpand all lines: Doc/library/turtle.rst
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.