summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcurses.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-06-27 18:30:34 (GMT)
committerFred Drake <fdrake@acm.org>2002-06-27 18:30:34 (GMT)
commit2c813818c81e2f296c63fdfeefec64988e458525 (patch)
tree23a57306c43384791fd5020f38e2291d5d57713b /Doc/lib/libcurses.tex
parentdcd05006648cc8b3e47d08554497c0bfd0b50655 (diff)
downloadcpython-2c813818c81e2f296c63fdfeefec64988e458525.zip
cpython-2c813818c81e2f296c63fdfeefec64988e458525.tar.gz
cpython-2c813818c81e2f296c63fdfeefec64988e458525.tar.bz2
Clean up some markup.
Diffstat (limited to 'Doc/lib/libcurses.tex')
-rw-r--r--Doc/lib/libcurses.tex11
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex
index 4ff170c..1f6f4c3 100644
--- a/Doc/lib/libcurses.tex
+++ b/Doc/lib/libcurses.tex
@@ -388,14 +388,15 @@ Leave raw mode. Return to normal ``cooked'' mode with line buffering.
\end{funcdesc}
\begin{funcdesc}{pair_content}{pair_number}
-Returns a tuple \var{(fg,bg)} containing the colors for the requested
-color pair. The value of \var{pair_number} must be between 0 and
-COLOR_PAIRS-1.
+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}.
\end{funcdesc}
\begin{funcdesc}{pair_number}{attr}
-Returns the number of the color-pair set by the attribute value \var{attr}.
-\function{color_pair()} is the counterpart to this function.
+Returns the number of the color-pair set by the attribute value
+\var{attr}. \function{color_pair()} is the counterpart to this
+function.
\end{funcdesc}
\begin{funcdesc}{putp}{string}