summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-08-14 04:51:24 +0000
committerFred Drake <fdrake@acm.org>2003-08-14 04:51:24 +0000
commit8fd8def1fae956f5fa62798012d84fe88c83c800 (patch)
tree3a06647d3ace46f4134c3b55bbf7008157dced7e
parent69f31eb80c86f74cf35ae313870f87b6611293fa (diff)
downloadcpython-git-8fd8def1fae956f5fa62798012d84fe88c83c800.tar.gz
fix markup
-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 1eace435c0..1746db6fc4 100644
--- a/Doc/lib/libcurses.tex
+++ b/Doc/lib/libcurses.tex
@@ -542,7 +542,7 @@ Allow use of default values for colors on terminals supporting this
feature. Use this to support transparency in your
application. The default color is assigned to the color number -1.
After calling this function,
-\function{init_pair(x, curses.COLOR_RED, -1)} initializes, for instance,
+\code{init_pair(x, curses.COLOR_RED, -1)} initializes, for instance,
color pair \var{x} to a red foreground color on the default background.
\end{funcdesc}