summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-11-05 01:07:35 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-11-05 01:07:35 (GMT)
commit96d1eb1ec8a1c4116bd4deb95439d794a71ff0bd (patch)
tree6292efed241607c759af51b55d65f7c2bf45cbe0 /Lib
parent020e09a5b4111fe8cc33fb94fd1c71dc3319a299 (diff)
downloadcpython-96d1eb1ec8a1c4116bd4deb95439d794a71ff0bd.zip
cpython-96d1eb1ec8a1c4116bd4deb95439d794a71ff0bd.tar.gz
cpython-96d1eb1ec8a1c4116bd4deb95439d794a71ff0bd.tar.bz2
Merged revisions 85732,85778,85785,85853,85930,86008,86089 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85732 | alexander.belopolsky | 2010-10-19 17:07:52 -0400 (Tue, 19 Oct 2010) | 3 lines Issue #7061: Fixed some of the issues in turtle module documentation reported by Terry J. Reedy. ........ r85778 | alexander.belopolsky | 2010-10-21 14:15:39 -0400 (Thu, 21 Oct 2010) | 1 line Issue #7061: Fixed section title ........ r85785 | alexander.belopolsky | 2010-10-21 18:29:36 -0400 (Thu, 21 Oct 2010) | 1 line Fixed a typo ........ r85853 | alexander.belopolsky | 2010-10-26 23:06:43 -0400 (Tue, 26 Oct 2010) | 4 lines Issue #7061: Dropped "for Tk" from turtle module title and moved its doc section under frameworks. Also fixed a couple of markup issues that affected TOC rendering. ........ r85930 | alexander.belopolsky | 2010-10-29 13:16:49 -0400 (Fri, 29 Oct 2010) | 1 line Issue 7061: Explained 'gon' ........ r86008 | alexander.belopolsky | 2010-10-30 20:51:11 -0400 (Sat, 30 Oct 2010) | 1 line Issues #7061, #10225: Fixed doctests in turtle manual ........ r86089 | alexander.belopolsky | 2010-11-01 11:45:34 -0400 (Mon, 01 Nov 2010) | 1 line Issue #7061: Simplified a section title. ........
Diffstat (limited to 'Lib')
-rw-r--r--Lib/turtle.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/turtle.py b/Lib/turtle.py
index 6f06059..e2d2bdc 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