summaryrefslogtreecommitdiffstats
path: root/Doc/library/turtle.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2009-09-13 08:13:21 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2009-09-13 08:13:21 (GMT)
commit713e042152c3e554157293180f1407aea7446ae9 (patch)
tree39d8fe21e6d60787c61dfc28c85394d0a6428e58 /Doc/library/turtle.rst
parentf388053649111e08ac213c0073cc60f02790351a (diff)
downloadcpython-713e042152c3e554157293180f1407aea7446ae9.zip
cpython-713e042152c3e554157293180f1407aea7446ae9.tar.gz
cpython-713e042152c3e554157293180f1407aea7446ae9.tar.bz2
Merged revisions 74764 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r74764 | ezio.melotti | 2009-09-13 10:54:02 +0300 (Sun, 13 Sep 2009) | 1 line fixed more examples that were using u"", print without () and unicode/str instead of str/bytes ........
Diffstat (limited to 'Doc/library/turtle.rst')
-rw-r--r--Doc/library/turtle.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst
index b7f2853..d70550a 100644
--- a/Doc/library/turtle.rst
+++ b/Doc/library/turtle.rst
@@ -645,7 +645,7 @@ Tell Turtle's state
>>> turtle.forward(100)
>>> turtle.pos()
(64.28,76.60)
- >>> print turtle.xcor()
+ >>> print(turtle.xcor())
64.2787609687
@@ -658,9 +658,9 @@ Tell Turtle's state
>>> turtle.home()
>>> turtle.left(60)
>>> turtle.forward(100)
- >>> print turtle.pos()
+ >>> print(turtle.pos())
(50.00,86.60)
- >>> print turtle.ycor()
+ >>> print(turtle.ycor())
86.6025403784