summaryrefslogtreecommitdiffstats
path: root/Doc/library/turtle.rst
diff options
context:
space:
mode:
authorMarco Buttu <marco.buttu@gmail.com>2017-04-13 14:17:59 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-04-13 14:17:59 (GMT)
commit7b2491a6aa5cdc1f8f9e3fd9df91f29ee69aa982 (patch)
treea36719b82f5922e0102d2a0b4bbb5686b50ba045 /Doc/library/turtle.rst
parentd1dc65dc820649e59633142a88eaf97f930963a9 (diff)
downloadcpython-7b2491a6aa5cdc1f8f9e3fd9df91f29ee69aa982.zip
cpython-7b2491a6aa5cdc1f8f9e3fd9df91f29ee69aa982.tar.gz
cpython-7b2491a6aa5cdc1f8f9e3fd9df91f29ee69aa982.tar.bz2
bpo-27200: Fix pathlib, ssl, turtle and weakref doctests (GH-616)
Diffstat (limited to 'Doc/library/turtle.rst')
-rw-r--r--Doc/library/turtle.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst
index 1986972..6f2626c 100644
--- a/Doc/library/turtle.rst
+++ b/Doc/library/turtle.rst
@@ -936,10 +936,9 @@ Color control
>>> turtle.fillcolor("violet")
>>> turtle.fillcolor()
'violet'
- >>> col = turtle.pencolor()
- >>> col
+ >>> turtle.pencolor()
(50.0, 193.0, 143.0)
- >>> turtle.fillcolor(col)
+ >>> turtle.fillcolor((50, 193, 143)) # Integers, not floats
>>> turtle.fillcolor()
(50.0, 193.0, 143.0)
>>> turtle.fillcolor('#ffffff')