mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Merged revisions 85930 via svnmerge from
http://svn.python.org/projects/python/branches/py3k ........ r85930 | alexander.belopolsky | 2010-10-29 13:16:49 -0400 (Fri, 29 Oct 2010) | 1 line Issue 7061: Explained 'gon' ........
This commit is contained in:
parent
77d9695a7e
commit
ab016d21a6
2 changed files with 9 additions and 2 deletions
|
@ -1495,7 +1495,10 @@ class TNavigator(object):
|
|||
>>> turtle.left(90)
|
||||
>>> turtle.heading()
|
||||
90
|
||||
>>> turtle.degrees(400.0) # angle measurement in gon
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue