mirror of https://github.com/python/cpython.git
Fix a "doctest" block in `Doc/library/turtle.rst` (#128831)
This commit is contained in:
parent
7fc0f86098
commit
1598e18a65
|
@ -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…
Reference in New Issue