]> granicus.if.org Git - python/commitdiff
[Bug #1219862] Document correct argument range for pair_content()
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 14 Jun 2005 14:45:24 +0000 (14:45 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 14 Jun 2005 14:45:24 +0000 (14:45 +0000)
Doc/lib/libcurses.tex

index 8652deeb7f79b4960cb1b78a495ef8d665cfedd1..fa9f974af348e009120656e4b790d540f5eb202d 100644 (file)
@@ -391,7 +391,7 @@ Leave raw mode. Return to normal ``cooked'' mode with line buffering.
 \begin{funcdesc}{pair_content}{pair_number}
 Returns a tuple \code{(\var{fg}, \var{bg})} containing the colors for
 the requested color pair.  The value of \var{pair_number} must be
-between \code{0} and \code{\constant{COLOR_PAIRS} - 1}.
+between \code{1} and \code{\constant{COLOR_PAIRS} - 1}.
 \end{funcdesc}
 
 \begin{funcdesc}{pair_number}{attr}