From: Andrew M. Kuchling Date: Tue, 14 Jun 2005 14:45:24 +0000 (+0000) Subject: [Bug #1219862] Document correct argument range for pair_content() X-Git-Tag: v2.5a0~1699 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8960c7e7e4c1ecb3b1e40614df7060f854150156;p=python [Bug #1219862] Document correct argument range for pair_content() --- diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex index 8652deeb7f..fa9f974af3 100644 --- a/Doc/lib/libcurses.tex +++ b/Doc/lib/libcurses.tex @@ -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}