summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2005-06-14 14:45:24 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2005-06-14 14:45:24 (GMT)
commit8960c7e7e4c1ecb3b1e40614df7060f854150156 (patch)
treeb1dec5d5d827086bc55bcc100dd76b7e0aab96f7
parent1a7285250ba1fb504c10fe3b402e5ebba98d287c (diff)
downloadcpython-8960c7e7e4c1ecb3b1e40614df7060f854150156.zip
cpython-8960c7e7e4c1ecb3b1e40614df7060f854150156.tar.gz
cpython-8960c7e7e4c1ecb3b1e40614df7060f854150156.tar.bz2
[Bug #1219862] Document correct argument range for pair_content()
-rw-r--r--Doc/lib/libcurses.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex
index 8652dee..fa9f974 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}