summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-08-14 04:51:24 (GMT)
committerFred Drake <fdrake@acm.org>2003-08-14 04:51:24 (GMT)
commit8fd8def1fae956f5fa62798012d84fe88c83c800 (patch)
tree3a06647d3ace46f4134c3b55bbf7008157dced7e /Doc
parent69f31eb80c86f74cf35ae313870f87b6611293fa (diff)
downloadcpython-8fd8def1fae956f5fa62798012d84fe88c83c800.zip
cpython-8fd8def1fae956f5fa62798012d84fe88c83c800.tar.gz
cpython-8fd8def1fae956f5fa62798012d84fe88c83c800.tar.bz2
fix markup
Diffstat (limited to 'Doc')
-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 1eace43..1746db6 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}