[Bug #1219862] Document correct argument range for pair_content()

This commit is contained in:
Andrew M. Kuchling 2005-06-14 14:45:24 +00:00
parent 1a7285250b
commit 8960c7e7e4

View 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}