mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +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()
|
>>> turtle.heading()
|
||||||
90.0
|
90.0
|
||||||
|
|
||||||
Change angle measurement unit to grad (also known as gon,
|
>>> # Change angle measurement unit to grad (also known as gon,
|
||||||
grade, or gradian and equals 1/100-th of the right angle.)
|
>>> # grade, or gradian and equals 1/100-th of the right angle.)
|
||||||
>>> turtle.degrees(400.0)
|
>>> turtle.degrees(400.0)
|
||||||
>>> turtle.heading()
|
>>> turtle.heading()
|
||||||
100.0
|
100.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue