diff options
author | Fred Drake <fdrake@acm.org> | 2001-11-15 20:41:03 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-11-15 20:41:03 (GMT) |
commit | 482b9a8c0c843f178880bd9978a3bee39cdb329a (patch) | |
tree | fd620c15f65b62f64e1e39572db190f48f3f34a1 /Doc/lib/libturtle.tex | |
parent | 3fc08d23c701d793872c3f9961fd24296e61a3d6 (diff) | |
download | cpython-482b9a8c0c843f178880bd9978a3bee39cdb329a.zip cpython-482b9a8c0c843f178880bd9978a3bee39cdb329a.tar.gz cpython-482b9a8c0c843f178880bd9978a3bee39cdb329a.tar.bz2 |
Clean up the descriptions of multi-signature functions so we do the right
thing in the index.
Diffstat (limited to 'Doc/lib/libturtle.tex')
-rw-r--r-- | Doc/lib/libturtle.tex | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/Doc/lib/libturtle.tex b/Doc/lib/libturtle.tex index ad2371c..c63c876 100644 --- a/Doc/lib/libturtle.tex +++ b/Doc/lib/libturtle.tex @@ -73,15 +73,13 @@ Set the line width to \var{width}. \end{funcdesc} \begin{funcdesc}{color}{s} -Set the color by giving a Tk color string. -\end{funcdesc} - -\begin{funcdesc}{color}{(r, g, b)} -Set the color by giving a RGB tuple, each between 0 and 1. -\end{funcdesc} - -\begin{funcdesc}{color}{r, g, b} -Set the color by giving the RGB components, each between 0 and 1. +\funclineni{color}{(r, g, b)} +\funclineni{color}{r, g, b} +Set the pen color. In the first form, the color is specified as a +Tk color specification as a string. The second form specifies the +color as a tuple of the RGB values, each in the range [0..1]. For the +third form, the color is specified giving the RGB values as three +separate parameters (each in the range [0..1]). \end{funcdesc} \begin{funcdesc}{write}{text\optional{, move}} @@ -109,12 +107,9 @@ direction. \end{funcdesc} \begin{funcdesc}{goto}{x, y} -Go to co-ordinates (\var{x}, \var{y}). -\end{funcdesc} - -\begin{funcdesc}{goto}{(x, y)} -Go to co-ordinates (\var{x}, \var{y}) (specified as a tuple instead of -individually). +\funclineni{goto}{(x, y)} +Go to co-ordinates \var{x}, \var{y}. The co-ordinates may be +specified either as two separate arguments or as a 2-tuple. \end{funcdesc} This module also does \code{from math import *}, so see the |