summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-10 18:35:49 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-10 18:35:49 (GMT)
commit0682be4524d64844fcf174da17da0f294feab900 (patch)
tree282637472da86f50b5bce99e40f01ae826679ae9 /Doc/lib
parent8394595f3b25f3b00382ebdd78bdb4cfb7f69e6b (diff)
downloadcpython-0682be4524d64844fcf174da17da0f294feab900.zip
cpython-0682be4524d64844fcf174da17da0f294feab900.tar.gz
cpython-0682be4524d64844fcf174da17da0f294feab900.tar.bz2
letters:
Fix description; lowercase and uppercase are strings, not functions! Noted by Randall Hopper <aa8vb@yahoo.com>. maketrans(): Minor markup nits in description.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libstring.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libstring.tex b/Doc/lib/libstring.tex
index 32b7c27..5a0a41c 100644
--- a/Doc/lib/libstring.tex
+++ b/Doc/lib/libstring.tex
@@ -21,8 +21,8 @@ The constants defined in this module are are:
\end{datadesc}
\begin{datadesc}{letters}
- The concatenation of the strings \function{lowercase()} and
- \function{uppercase()} described below.
+ The concatenation of the strings \constant{lowercase} and
+ \constant{uppercase} described below.
\end{datadesc}
\begin{datadesc}{lowercase}
@@ -156,8 +156,8 @@ The functions defined in this module are:
each character in \var{from} into the character at the same position
in \var{to}; \var{from} and \var{to} must have the same length.
- \strong{Warning:} don't use strings derived from \code{lowercase}
- and \code{uppercase} as arguments; in some locales, these don't have
+ \strong{Warning:} don't use strings derived from \constant{lowercase}
+ and \constant{uppercase} as arguments; in some locales, these don't have
the same length. For case conversions, always use
\function{lower()} and \function{upper()}.
\end{funcdesc}