diff options
Diffstat (limited to 'Doc/library/turtle.rst')
-rw-r--r-- | Doc/library/turtle.rst | 5 |
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') |