summaryrefslogtreecommitdiff
path: root/Lib/turtle.py
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-10-29 17:16:49 +0000
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-10-29 17:16:49 +0000
commit3cdfb123606fc1eb0af10552488ccec13a781bd0 (patch)
tree8e25f688f79d2d3d4c0398976d59acf3b264301a /Lib/turtle.py
parent9f62d1c5dda72967de0af002428ccdcb9f8de6de (diff)
downloadcpython-git-3cdfb123606fc1eb0af10552488ccec13a781bd0.tar.gz
Issue 7061: Explained 'gon'
Diffstat (limited to 'Lib/turtle.py')
-rw-r--r--Lib/turtle.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/turtle.py b/Lib/turtle.py
index 18d9a565d4..5e55f09d18 100644
--- a/Lib/turtle.py
+++ b/Lib/turtle.py
@@ -1575,7 +1575,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