mirror of
https://github.com/python/cpython.git
synced 2025-09-08 01:41:19 +00:00
Fix a "doctest" block in Doc/library/turtle.rst
(#128831)
This commit is contained in:
parent
7fc0f86098
commit
1598e18a65
1 changed files with 2 additions and 2 deletions
|
@ -993,8 +993,8 @@ Settings for measurement
|
|||
>>> turtle.heading()
|
||||
90.0
|
||||
|
||||
Change angle measurement unit to grad (also known as gon,
|
||||
grade, or gradian and equals 1/100-th of the right angle.)
|
||||
>>> # Change angle measurement unit to grad (also known as gon,
|
||||
>>> # grade, or gradian and equals 1/100-th of the right angle.)
|
||||
>>> turtle.degrees(400.0)
|
||||
>>> turtle.heading()
|
||||
100.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue